This commit is contained in:
yue374
2024-01-21 16:24:09 +07:00
parent 650826fe51
commit 5611c8ff89
3 changed files with 18 additions and 7 deletions

View File

@@ -194,5 +194,18 @@ split_arch() {
exit 1
fi
}
_split_arch() {
green_log "[+] Splitting $1 to ${archs[i]}:"
if [ -f "./release/$1.apk" ]; then
eval java -jar revanced-cli*.jar patch \
--patch-bundle revanced-patches*.jar \
$3 \
--keystore=./src/_ks.keystore \
--out=./release/$2.apk\
./release/$1.apk
else
red_log "[-] Not found $1.apk"
exit 1
fi
}
#################################################