mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 16:17:40 +00:00
added Tasker, Novalauncher
Because the patching time of revanced.sh is too long, I split it into 3 .sh files and ran them with 3 more runners to speed up the patching time.
This commit is contained in:
46
src/build/Revanced-1.sh
Normal file
46
src/build/Revanced-1.sh
Normal file
@@ -0,0 +1,46 @@
|
||||
#!/bin/bash
|
||||
# Revanced build
|
||||
source ./src/build/utils.sh
|
||||
|
||||
#################################################
|
||||
|
||||
# Checking new patch
|
||||
checker "revanced/revanced-patches" "revanced"
|
||||
|
||||
#################################################
|
||||
|
||||
# Download requirements
|
||||
dl_gh "revanced-patches revanced-cli revanced-integrations" "revanced" "latest"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-revanced"
|
||||
get_ver "Video ads" "com.google.android.youtube"
|
||||
get_apk "youtube" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube" "revanced"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch YouTube Music:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-revanced"
|
||||
get_apk "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-arm64-v8a" "revanced"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-revanced"
|
||||
get_apk "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-armeabi-v7a" "revanced"
|
||||
|
||||
#################################################
|
||||
|
||||
# Split architecture:
|
||||
rm -f revanced-cli* revanced-patches*.jar patches.json
|
||||
dl_gh "revanced-cli" "j-hc" "latest"
|
||||
dl_gh "revanced-patches" "revanced" "latest"
|
||||
# Split architecture Youtube:
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube-revanced" "youtube-${archs[i]}-revanced" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
|
||||
#################################################
|
||||
Reference in New Issue
Block a user