update config

This commit is contained in:
j-hc 2024-10-20 19:18:45 +03:00
parent 7aad796fff
commit 45bcce5986
No known key found for this signature in database
GPG Key ID: CDF97F1DBFE904CD
2 changed files with 21 additions and 16 deletions

View File

@ -1,4 +1,5 @@
enable-magisk-update = true # set this to false if you do not want to receive updates for the module in magisk app enable-magisk-update = true # set this to false if you do not want to receive updates for the module in magisk app
parallel-jobs = 1
# add 'enabled = false' for not patching a specific app or remove it from the config # add 'enabled = false' for not patching a specific app or remove it from the config
# see https://github.com/j-hc/revanced-magisk-module/blob/main/CONFIG.md for more detailed explanations # see https://github.com/j-hc/revanced-magisk-module/blob/main/CONFIG.md for more detailed explanations
@ -10,14 +11,14 @@ build-mode = "both"
excluded-patches = "" excluded-patches = ""
included-patches = "" included-patches = ""
version = "auto" version = "auto"
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube" # fallback apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube" # fallback
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube"
[Music] [Music]
build-mode = "both" build-mode = "both"
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
arch = "both" arch = "both"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music"
[Music-Extended] [Music-Extended]
app-name = "Music" app-name = "Music"
@ -26,9 +27,9 @@ integrations-source = "inotia00/revanced-integrations"
cli-source = "inotia00/revanced-cli" cli-source = "inotia00/revanced-cli"
rv-brand = "ReVanced Extended" rv-brand = "ReVanced Extended"
build-mode = "both" build-mode = "both"
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
arch = "both" arch = "both"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube-music"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.apps.youtube.music"
[YouTube-Extended] [YouTube-Extended]
app-name = "YouTube" app-name = "YouTube"
@ -37,26 +38,30 @@ integrations-source = "inotia00/revanced-integrations"
cli-source = "inotia00/revanced-cli" cli-source = "inotia00/revanced-cli"
rv-brand = "ReVanced Extended" rv-brand = "ReVanced Extended"
build-mode = "both" build-mode = "both"
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube"
apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube" apkmirror-dlurl = "https://www.apkmirror.com/apk/google-inc/youtube"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.google.android.youtube"
[Twitter] [Twitter]
apkmirror-dlurl = "https://www.apkmirror.com/apk/x-corp/twitter"
build-mode = "apk" build-mode = "apk"
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.twitter.android" # archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.twitter.android"
[Twitch]
archive-dlurl = "https://archive.org/download/jhc-apks/apks/tv.twitch.android.app"
[TikTok]
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.zhiliaoapp.musically"
included-patches = "'SIM spoof'"
[Reddit-Extended] [Reddit-Extended]
patches-source = "inotia00/revanced-patches" patches-source = "inotia00/revanced-patches"
integrations-source = "inotia00/revanced-integrations" integrations-source = "inotia00/revanced-integrations"
cli-source = "inotia00/revanced-cli" cli-source = "inotia00/revanced-cli"
rv-brand = "ReVanced Extended" rv-brand = "ReVanced Extended"
archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.reddit.frontpage" apkmirror-dlurl = "https://www.apkmirror.com/apk/redditinc/reddit/"
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.reddit.frontpage"
[Twitch]
enabled = false
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/tv.twitch.android.app"
[TikTok]
enabled = false
# archive-dlurl = "https://archive.org/download/jhc-apks/apks/com.zhiliaoapp.musically"
included-patches = "'SIM spoof'"
[Messenger] [Messenger]
enabled = false enabled = false

View File

@ -425,7 +425,7 @@ check_sig() {
build_rv() { build_rv() {
eval "declare -A args=${1#*=}" eval "declare -A args=${1#*=}"
local version pkg_name local version="" pkg_name=""
local mode_arg=${args[build_mode]} version_mode=${args[version]} local mode_arg=${args[build_mode]} version_mode=${args[version]}
local app_name=${args[app_name]} local app_name=${args[app_name]}
local app_name_l=${app_name,,} local app_name_l=${app_name,,}