diff --git a/src/build/utils.sh b/src/build/utils.sh index a3c9f37..eb043df 100644 --- a/src/build/utils.sh +++ b/src/build/utils.sh @@ -234,13 +234,13 @@ patch() { if [ -f "./download/$1.apk" ]; then local p b m ks a pu opt if [ "$3" = inotia ]; then - p="patch " b="-p *.rvp" m="" a="" ks="_ks" pu="--purge=true" opt="" + p="patch " b="-p *.rvp" m="" a="" ks="_ks" pu="--purge=true" opt="--legacy-options=./src/options/$2.json" echo "Patching with Revanced-cli inotia" else if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then num=${BASH_REMATCH[1]} if [ $num -ge 5 ]; then - p="patch " b="-p *.rvp" m="" a="" ks="ks" pu="--purge=true" opt="--legacy-options=./src/options/$2.json" + p="patch " b="-p *.rvp" m="" a="" ks="ks" pu="--purge=true" opt="" echo "Patching with Revanced-cli version 5+" elif [ $num -eq 4 ]; then p="patch " b="--patch-bundle *patch*.jar" m="--merge *integration*.apk " a="" ks="ks" pu="--purge=true" opt="--options=./src/options/$2.json "