From ae425d35f068e7a157029f5f4a8203c19ab960cc Mon Sep 17 00:00:00 2001 From: Fioren <102145692+FiorenMas@users.noreply.github.com> Date: Mon, 2 Jun 2025 00:27:10 +0700 Subject: [PATCH] Fix issue enable/disable patches Fixed https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/issues/57 Convert Window Line Endings to Unix Line Endings --- src/build/utils.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/build/utils.sh b/src/build/utils.sh index 5e8a245..82fbec1 100644 --- a/src/build/utils.sh +++ b/src/build/utils.sh @@ -92,6 +92,8 @@ get_patches_key() { includePatches="" excludeLinesFound=false includeLinesFound=false + sed -i 's/\r$//' src/patches/$1/include-patches + sed -i 's/\r$//' src/patches/$1/exclude-patches if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then num=${BASH_REMATCH[1]} if [ $num -ge 5 ]; then