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