mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user