mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2026-08-17 21:05:49 +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:
parent
faf1ea4318
commit
ae425d35f0
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue