From 5d41cc649691c46b471ef3ef46c4989127dfa490 Mon Sep 17 00:00:00 2001 From: FiorenMas <102145692+FiorenMas@users.noreply.github.com> Date: Sun, 30 Apr 2023 22:09:02 +0700 Subject: [PATCH] Update patch.sh --- src/tiktok/patch.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tiktok/patch.sh b/src/tiktok/patch.sh index e5cc8c4..597d2c5 100644 --- a/src/tiktok/patch.sh +++ b/src/tiktok/patch.sh @@ -7,6 +7,9 @@ EXCLUDE_PATCHES=() for word in $(cat src/tiktok/exclude-patches.txt) ; do EXCLUDE_PATCHES+=("-e $word") done +echo "⏬ Downloading apkeep resources..." curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkkeep +echo "⏬ Downloading Titok..." chmod +x ${DIR_TMP}/apkkeep && ${DIR_TMP}/apkkeep -a com.ss.android.ugc.trill . -java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a com.ss.android.ugc.trill.apk --keystore=ks.keystore -o Tiktok.apk \ No newline at end of file +echo "⚙️ Patching Tiktok..." +java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a com.ss.android.ugc.trill.apk --keystore=ks.keystore -o Tiktok.apk