diff --git a/src/build/Revanced-1.sh b/src/build/Revanced-1.sh index 7c8995c..a5a786e 100644 --- a/src/build/Revanced-1.sh +++ b/src/build/Revanced-1.sh @@ -29,14 +29,6 @@ patch "youtube-music-armeabi-v7a" "revanced" ################################################# -# Patch Facebook: -# Arm64-v8a -get_patches_key "facebook" -get_apk "facebook-arm64-v8a" "facebook" "facebook-2/facebook/facebook" "arm64-v8a" "nodpi" "Android 11+" -patch "facebook-arm64-v8a" "revanced" - -################################################# - # Split architecture: rm -f revanced-cli* revanced-patches*.jar patches.json dl_gh "revanced-cli" "inotia00" "latest" diff --git a/src/build/Revanced-2.sh b/src/build/Revanced-2.sh index cb4e604..d47fb61 100644 --- a/src/build/Revanced-2.sh +++ b/src/build/Revanced-2.sh @@ -50,7 +50,7 @@ patch "reddit" "revanced" # Patch Tiktok: get_patches_key "tiktok" -get_ver "Hide ads" "com.ss.android.ugc.trill" +get_ver "Feed filter" "com.ss.android.ugc.trill" get_apk "tiktok" "tik-tok" "tiktok-pte-ltd/tik-tok/tik-tok" patch "tiktok" "revanced" diff --git a/src/build/Revanced-3.sh b/src/build/Revanced-3.sh index bdf9c58..b3f70df 100644 --- a/src/build/Revanced-3.sh +++ b/src/build/Revanced-3.sh @@ -18,7 +18,7 @@ patch "pixiv" "revanced" # Patch Lightroom: get_patches_key "lightroom" -get_apk "lightroom" "lightroom" "adobe/lightroom/lightroom" +get_apk "lightroom" "lightroom" "adobe/lightroom/lightroom" "arm64-v8a" patch "lightroom" "revanced" ################################################# @@ -36,24 +36,3 @@ get_apk "tumblr" "tumblr" "tumblr-inc/tumblr/tumblr" patch "tumblr" "revanced" ################################################# - -rm -f patches*.json revanced-patches*.jar revanced-integrations*.apk revanced-cli*.jar -dl_gh "revanced-patches-template" "revanced" "tags/v2.187.0" -dl_gh "revanced-integrations" "revanced" "tags/v0.115.1" -dl_gh "revanced-cli" "revanced" "tags/v2.22.0" - -################################################# - -#Patch Tasker: -get_patches_key "tasker" -get_apk "tasker" "tasker" "joaomgcd/tasker/tasker" -patch "tasker" "revanced" - -################################################# - -#Patch Nova Launcher: -get_patches_key "nova-launcher" -get_apk "nova-launcher" "nova-launcher" "teslacoil-software/nova-launcher/nova-launcher" -patch "nova-launcher" "revanced" - -################################################# \ No newline at end of file diff --git a/src/build/utils.sh b/src/build/utils.sh index 508bbee..249d8e0 100644 --- a/src/build/utils.sh +++ b/src/build/utils.sh @@ -126,7 +126,7 @@ get_apk() { patch() { green_log "[+] Patching $1:" if [ -f "$1.apk" ]; then - local p b m ks a + local p b m ks a pu if [ "$3" = inotia ]; then p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" echo "Patching with Revanced-cli inotia" @@ -134,13 +134,13 @@ patch() { if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then num=${BASH_REMATCH[1]} if [ $num -ge 4 ]; then - p="patch " b="--patch-bundle" m="--merge" a="" ks="ks" + p="patch " b="--patch-bundle" m="--merge" a="" ks="ks" pu="--purge=true" echo "Patching with Revanced-cli version 4+" elif [ $num -eq 3 ]; then - p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" + p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" pu="--purge=true" echo "Patching with Revanced-cli version 3" elif [ $num -eq 2 ]; then - p="" b="-b" m="-m" a="-a " ks="_ks" + p="" b="-b" m="-m" a="-a " ks="_ks" pu="--clean" echo "Patching with Revanced-cli version 2" else red_log "[-] Revanced-cli not supported" @@ -159,7 +159,7 @@ patch() { --options=./src/options/$2.json \ --out=./release/$1-$2.apk \ --keystore=./src/$ks.keystore \ - --purge=true \ + $pu \ $a$1.apk unset version unset excludePatches