mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
bump compatibility RVE cli v4.0.2
This commit is contained in:
@@ -18,7 +18,7 @@ dl_gh "revanced-patches revanced-cli revanced-integrations" "inotia00" "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" "rve"
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
@@ -27,19 +27,19 @@ patch "youtube" "revanced-extended"
|
|||||||
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"
|
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" "rve"
|
||||||
# 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"
|
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" "rve"
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
# 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" "rve"
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
|
|||||||
@@ -127,8 +127,8 @@ get_apk() {
|
|||||||
|
|
||||||
# Patching apps with Revanced CLI:
|
# Patching apps with Revanced CLI:
|
||||||
patch() {
|
patch() {
|
||||||
if [ -f "$1.apk" ]; then
|
|
||||||
local p b m ks a
|
local p b m ks a
|
||||||
|
if [[ -z $3 ]]; then
|
||||||
if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then
|
if [[ $(ls revanced-cli-*.jar) =~ revanced-cli-([0-9]+) ]]; then
|
||||||
num=${BASH_REMATCH[1]}
|
num=${BASH_REMATCH[1]}
|
||||||
if [ $num -ge 4 ]; then
|
if [ $num -ge 4 ]; then
|
||||||
@@ -148,6 +148,10 @@ patch() {
|
|||||||
echo "No revanced-cli supported"
|
echo "No revanced-cli supported"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "Patching with Revanced-cli inotia version 4+"
|
||||||
|
p="patch " b="--patch-bundle" m="--merge" a="" ks="_ks"
|
||||||
|
fi
|
||||||
java -jar revanced-cli*.jar $p\
|
java -jar revanced-cli*.jar $p\
|
||||||
$b revanced-patches*.jar \
|
$b revanced-patches*.jar \
|
||||||
$m revanced-integrations*.apk \
|
$m revanced-integrations*.apk \
|
||||||
@@ -160,9 +164,6 @@ patch() {
|
|||||||
unset version
|
unset version
|
||||||
unset EXCLUDE_PATCHES
|
unset EXCLUDE_PATCHES
|
||||||
unset INCLUDE_PATCHES
|
unset INCLUDE_PATCHES
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user