mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 16:17:40 +00:00
Update ReX
Can patch ReX now Revanced Extended no longer auto finding new patch
This commit is contained in:
55
src/build/ReX.sh
Normal file
55
src/build/ReX.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/bin/bash
|
||||
# Revanced Extended build
|
||||
source src/build/utils.sh
|
||||
|
||||
#################################################
|
||||
|
||||
# Checking new patch
|
||||
checker "YT-Advanced/ReX-patches" "ReX"
|
||||
|
||||
#################################################
|
||||
|
||||
# Download requirements
|
||||
dl_gh "ReX-patches ReX-integrations" "YT-Advanced" "latest"
|
||||
dl_gh "revanced-cli" "inotia00" "latest"
|
||||
dl_htmlq
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch YouTube Extended:
|
||||
get_patches_key "youtube-ReX"
|
||||
get_ver "Hide general ads" "com.google.android.youtube"
|
||||
get_apk "youtube" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube" "youtube-ReX"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-ReX"
|
||||
get_apk "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-arm64-v8a" "youtube-music-arm64-v8a-ReX"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-ReX"
|
||||
version="6.08.51"
|
||||
get_apk "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-armeabi-v7a" "youtube-music-armeabi-v7a-ReX"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit"
|
||||
get_apk "reddit" "reddit" "redditinc/reddit/reddit"
|
||||
patch "reddit" "reddit-ReX"
|
||||
|
||||
#################################################
|
||||
|
||||
# Split architecture:
|
||||
rm -f revanced-cli*
|
||||
dl_gh "revanced-cli" "j-hc" "latest"
|
||||
# Split architecture Youtube:
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube-ReX" "youtube-${archs[i]}-ReX" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
|
||||
#################################################
|
||||
@@ -5,7 +5,7 @@ source src/build/utils.sh
|
||||
#################################################
|
||||
|
||||
# Checking new patch
|
||||
checker "inotia00/revanced-patches" "revanced-extended"
|
||||
checker "inotia00/revanced-patches" "revanced-extended-inotia-discontinued"
|
||||
|
||||
#################################################
|
||||
|
||||
@@ -19,7 +19,7 @@ dl_htmlq
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
get_ver "Hide general ads" "com.google.android.youtube"
|
||||
get_apk "youtube" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube" "youtube-revanced-extended"
|
||||
patch "youtube" "youtube-revanced-extended-inotia-discontinued"
|
||||
|
||||
#################################################
|
||||
|
||||
@@ -27,19 +27,19 @@ patch "youtube" "youtube-revanced-extended"
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-arm64-v8a" "youtube-music-arm64-v8a-revanced-extended"
|
||||
patch "youtube-music-arm64-v8a" "youtube-music-arm64-v8a-revanced-extended-inotia-discontinued"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
version="6.08.51"
|
||||
get_apk "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-armeabi-v7a" "youtube-music-armeabi-v7a-revanced-extended"
|
||||
patch "youtube-music-armeabi-v7a" "youtube-music-armeabi-v7a-revanced-extended-inotia-discontinued"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit"
|
||||
get_apk "reddit" "reddit" "redditinc/reddit/reddit"
|
||||
patch "reddit" "reddit-revanced-extended"
|
||||
patch "reddit" "reddit-revanced-extended-inotia-discontinued"
|
||||
|
||||
#################################################
|
||||
|
||||
@@ -48,7 +48,7 @@ rm -f revanced-cli*
|
||||
dl_gh "revanced-cli" "j-hc" "latest"
|
||||
# Split architecture Youtube:
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube-revanced-extended" "youtube-${archs[i]}-revanced-extended" "$(gen_rip_libs ${libs[i]})"
|
||||
split_arch "youtube-revanced-extended-inotia-discontinued" "youtube-${archs[i]}-revanced-extended-inotia-discontinued" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
|
||||
#################################################
|
||||
29
src/patches/youtube-ReX/exclude-patches
Normal file
29
src/patches/youtube-ReX/exclude-patches
Normal file
@@ -0,0 +1,29 @@
|
||||
custom-branding-icon-afn-red
|
||||
debugging
|
||||
custom-seekbar-color
|
||||
disable-startup-shorts-player
|
||||
disable-quic-protocol
|
||||
disable-hdr-video
|
||||
enable-old-quality-layout
|
||||
force-premium-heading
|
||||
force-vp9-codec
|
||||
force-opus-codec
|
||||
header-switch
|
||||
hide-cast-button
|
||||
hide-account-menu
|
||||
hide-auto-captions
|
||||
hide-autoplay-button
|
||||
hide-autoplay-preview
|
||||
hide-captions-button
|
||||
hide-email-address
|
||||
hide-endscreen-cards
|
||||
hide-endscreen-overlay
|
||||
hide-filmstrip-overlay
|
||||
hide-mix-playlists
|
||||
hide-seekbar
|
||||
hide-search-terms
|
||||
hide-load-more-button
|
||||
hide-quick-actions
|
||||
hide-previous-next-button
|
||||
theme
|
||||
spoof-app-version
|
||||
1
src/patches/youtube-ReX/include-patches
Normal file
1
src/patches/youtube-ReX/include-patches
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
12
src/patches/youtube-music-ReX/exclude-patches
Normal file
12
src/patches/youtube-music-ReX/exclude-patches
Normal file
@@ -0,0 +1,12 @@
|
||||
custom-branding-music-afn-red
|
||||
compact-header
|
||||
disable-auto-captions
|
||||
enable-force-minimized-player
|
||||
enable-force-shuffle
|
||||
hide-button-shelf
|
||||
hide-carousel-shelf
|
||||
hide-category-bar
|
||||
hide-music-cast-button
|
||||
hide-new-playlist
|
||||
hide-playlist-card
|
||||
optimize-resource-music
|
||||
1
src/patches/youtube-music-ReX/include-patches
Normal file
1
src/patches/youtube-music-ReX/include-patches
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user