fix bug + added beta rve

This commit is contained in:
siritami
2024-05-09 07:40:45 +07:00
parent 828ac98617
commit 987b2f5473
6 changed files with 95 additions and 8 deletions

View File

@@ -185,7 +185,7 @@ patch() {
if [ -f "./download/$1.apk" ]; then
local p b m ks a pu
if [ "$3" = inotia ]; then
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks"
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" pu="--purge=true"
echo "Patching with Revanced-cli inotia"
else
if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then
@@ -197,7 +197,7 @@ patch() {
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" pu="--purge=true"
echo "Patching with Revanced-cli version 3"
elif [ $num -eq 2 ]; then
p="" b="-b" m="-m" a="-a " ks="_ks" pu="--clean"
p="" b="--bundle" m="--merge" a="--apk " ks="_ks" pu="--clean"
echo "Patching with Revanced-cli version 2"
fi
fi