revert latest commit, change keystore file

This commit is contained in:
Fioren
2023-10-08 01:03:26 +07:00
parent 8ef5f19366
commit 1a9334b70b
6 changed files with 13 additions and 35 deletions

View File

@@ -127,28 +127,6 @@ get_apk() {
# Patching apps with Revanced CLI:
patch() {
if [ -f "$1.apk" ]; then
java -jar revanced-cli*.jar patch \
--patch-bundle revanced-patches*.jar \
--merge revanced-integrations*.apk \
${EXCLUDE_PATCHES[@]} \
${INCLUDE_PATCHES[@]} \
--options=./src/options/$2.json \
--keystore=./src/ks.keystore \
--out=./release/$1-$2.apk \
--alias alias \
--keystore-entry-password ReVanced \
$1.apk
unset version
unset EXCLUDE_PATCHES
unset INCLUDE_PATCHES
else
exit 1
fi
}
# Patching apps with Revanced CLI (old version):
-patch() {
if [ -f "$1.apk" ]; then
java -jar revanced-cli*.jar patch \
--patch-bundle revanced-patches*.jar \
@@ -201,7 +179,7 @@ split_arch() {
java -jar revanced-cli*.jar patch \
--patch-bundle revanced-patches*.jar \
$3 \
--keystore=./src/_ks.keystore \
--keystore=./src/ks.keystore \
--out=./release/$2.apk\
./release/$1.apk
else