bump compatibility latest rve-cli

This commit is contained in:
siritami
2023-10-28 11:38:03 +07:00
parent 192d838205
commit 80222a9fa9
5 changed files with 68 additions and 73 deletions

View File

@@ -10,8 +10,7 @@ checker "inotia00/revanced-patches" "revanced-extended"
################################################# #################################################
# Download requirements # Download requirements
dl_gh "revanced-patches revanced-integrations" "inotia00" "latest" dl_gh "revanced-patches revanced-integrations revanced-cli" "inotia00" "latest"
dl_gh "revanced-cli" "revanced" "latest"
################################################# #################################################
@@ -19,28 +18,30 @@ dl_gh "revanced-cli" "revanced" "latest"
get_patches_key "youtube-revanced-extended" get_patches_key "youtube-revanced-extended"
get_ver "Hide general ads" "com.google.android.youtube" get_ver "Hide general ads" "com.google.android.youtube"
get_apk "youtube" "youtube" "google-inc/youtube/youtube" get_apk "youtube" "youtube" "google-inc/youtube/youtube"
patch "youtube" "revanced-extended" patch "youtube" "revanced-extended" "inotia"
################################################# #################################################
# Patch YouTube Music Extended: # Patch YouTube Music Extended:
# Arm64-v8a # Arm64-v8a
get_patches_key "youtube-music-revanced-extended" get_patches_key "youtube-music-revanced-extended"
get_ver "Hide music ads" "com.google.android.apps.youtube.music" version=6.23.55
#get_ver "Hide music ads" "com.google.android.apps.youtube.music"
get_apk "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a" get_apk "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
patch "youtube-music-arm64-v8a" "revanced-extended" patch "youtube-music-arm64-v8a" "revanced-extended" "inotia"
# Armeabi-v7a # Armeabi-v7a
get_patches_key "youtube-music-revanced-extended" get_patches_key "youtube-music-revanced-extended"
get_ver "Hide music ads" "com.google.android.apps.youtube.music" version=6.23.55
#get_ver "Hide music ads" "com.google.android.apps.youtube.music"
get_apk "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a" get_apk "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
patch "youtube-music-armeabi-v7a" "revanced-extended" patch "youtube-music-armeabi-v7a" "revanced-extended" "inotia"
################################################# #################################################
# Patch Reddit: # Patch Reddit:
get_patches_key "reddit" get_patches_key "reddit"
get_apk "reddit" "reddit" "redditinc/reddit/reddit" get_apk "reddit" "reddit" "redditinc/reddit/reddit"
patch "reddit" "revanced-extended" patch "reddit" "revanced-extended" "inotia"
################################################# #################################################

View File

@@ -129,24 +129,29 @@ get_apk() {
patch() { patch() {
if [ -f "$1.apk" ]; then if [ -f "$1.apk" ]; then
local p b m ks a local p b m ks a
if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then if [ "$3" = inotia ]; then
num=${BASH_REMATCH[1]} p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks"
if [ $num -ge 4 ]; then echo "Patching with Revanced-cli inotia"
p="patch " b="--patch-bundle" m="--merge" a="" ks="ks" else
echo "Patching with Revanced-cli version 4+" if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then
elif [ $num -eq 3 ]; then num=${BASH_REMATCH[1]}
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks" if [ $num -ge 4 ]; then
echo "Patching with Revanced-cli version 3" p="patch " b="--patch-bundle" m="--merge" a="" ks="ks"
elif [ $num -eq 2 ]; then echo "Patching with Revanced-cli version 4+"
p="" b="-b" m="-m" a="-a " ks="_ks" elif [ $num -eq 3 ]; then
echo "Patching with Revanced-cli version 2" p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks"
echo "Patching with Revanced-cli version 3"
elif [ $num -eq 2 ]; then
p="" b="-b" m="-m" a="-a " ks="_ks"
echo "Patching with Revanced-cli version 2"
else
echo "No revanced-cli supported"
exit 1
fi
else else
echo "No revanced-cli supported" echo "No revanced-cli supported"
exit 1 exit 1
fi fi
else
echo "No revanced-cli supported"
exit 1
fi fi
java -jar revanced-cli*.jar $p\ java -jar revanced-cli*.jar $p\
$b revanced-patches*.jar \ $b revanced-patches*.jar \

View File

@@ -1,12 +1,12 @@
custom-branding-music-afn-red Custom branding icon Revancify Blue
compact-header Disable auto captions
disable-auto-captions Hide captions button
enable-force-minimized-player Hide button shelf
enable-force-shuffle Hide carousel shelf
hide-button-shelf Hide category bar
hide-carousel-shelf Replace cast button
hide-category-bar Hide cast button
hide-music-cast-button Hide account menu
hide-new-playlist Hide mix playlists
hide-playlist-card Hide new playlist button
optimize-resource-music Hide playlist card

View File

@@ -1,25 +1,19 @@
custom-branding-icon-afn-red Custom branding icon Revancify Blue
debugging Enable compact controls overlay
enable-compact-controls-overlay Disable QUIC protocol
hide-cast-button Disable auto captions
disable-QUIC-protocol Disable HDR video
disable-auto-captions Enable old quality layout
disable-hdr-video Enable zen mode
enable-force-shuffle Hide cast button
enable-old-quality-layout Hide account menu
enable-zen-mode Hide autoplay button
hide-account-menu Hide autoplay preview
hide-autoplay-button Hide captions button
hide-autoplay-preview Hide description components
hide-button-container Hide handle
hide-captions-button Hide latest videos button
hide-cast-button Hide load more button
hide-description-components Hide mix playlists
hide-handle Hide previous next button
hide-latest-videos-button Custom seekbar color
hide-load-more-button
hide-mix-playlists
hide-previous-next-button
quick-actions-components
higher-fullscreen-seekbar-height
Custom-seekbar-color

View File

@@ -1,14 +1,9 @@
custom-branding Custom branding
premium-heading Disable auto captions
enable-debugging Hide autoplay button
disable-auto-captions Hide cast button
disable-player-popup-panels Hide email address
hide-autoplay-button Hide video action buttons
hide-cast-button Hide captions button
hide-email-address Hide timestamp
hide-player-buttons Spoof app version
hide-video-action-buttons
hide-captions-button
hide-timestamp
spoof-app-version
Return YouTube Dislike