mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-02 07:34:28 +02:00
mention zygisk-detach
This commit is contained in:
parent
053325eed5
commit
b94efabf7e
7
build.sh
7
build.sh
@ -143,7 +143,7 @@ for table_name in $(toml_get_table_names); do
|
|||||||
} || app_args[archive_dlurl]=""
|
} || app_args[archive_dlurl]=""
|
||||||
if [ -z "${app_args[dl_from]:-}" ]; then abort "ERROR: no 'apkmirror_dlurl', 'uptodown_dlurl' or 'apkmonk_dlurl' option was set for '$table_name'."; fi
|
if [ -z "${app_args[dl_from]:-}" ]; then abort "ERROR: no 'apkmirror_dlurl', 'uptodown_dlurl' or 'apkmonk_dlurl' option was set for '$table_name'."; fi
|
||||||
app_args[arch]=$(toml_get "$t" apkmirror-arch) || app_args[arch]="universal"
|
app_args[arch]=$(toml_get "$t" apkmirror-arch) || app_args[arch]="universal"
|
||||||
if [ "${app_args[arch]}" != "universal" ] && [[ "${app_args[arch]}" != "arm64-v8a"* ]] && [[ "${app_args[arch]}" != "arm-v7a"* ]]; then
|
if [ "${app_args[arch]}" != "both" ] && [ "${app_args[arch]}" != "universal" ] && [[ "${app_args[arch]}" != "arm64-v8a"* ]] && [[ "${app_args[arch]}" != "arm-v7a"* ]]; then
|
||||||
abort "wrong arch '${app_args[arch]}' for '$table_name'"
|
abort "wrong arch '${app_args[arch]}' for '$table_name'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -178,7 +178,10 @@ if [ -z "$(ls -A1 ${BUILD_DIR})" ]; then abort "All builds failed."; fi
|
|||||||
if youtube_t=$(toml_get_table "YouTube"); then youtube_mode=$(toml_get "$youtube_t" "build-mode") || youtube_mode="apk"; else youtube_mode="module"; fi
|
if youtube_t=$(toml_get_table "YouTube"); then youtube_mode=$(toml_get "$youtube_t" "build-mode") || youtube_mode="apk"; else youtube_mode="module"; fi
|
||||||
if music_t=$(toml_get_table "Music"); then music_mode=$(toml_get "$music_t" "build-mode") || music_mode="apk"; else music_mode="module"; fi
|
if music_t=$(toml_get_table "Music"); then music_mode=$(toml_get "$music_t" "build-mode") || music_mode="apk"; else music_mode="module"; fi
|
||||||
if [ "$youtube_mode" != module ] || [ "$music_mode" != module ]; then
|
if [ "$youtube_mode" != module ] || [ "$music_mode" != module ]; then
|
||||||
log "\nInstall [Vanced Microg](https://github.com/TeamVanced/VancedMicroG/releases) for non-root YouTube or YT Music"
|
log "\nInstall [Vanced Microg](https://github.com/TeamVanced/VancedMicroG/releases) for non-root YouTube and YT Music"
|
||||||
|
fi
|
||||||
|
if [ "$youtube_mode" = module ] || [ "$music_mode" = module ]; then
|
||||||
|
log "Use [zygisk-detach](https://github.com/j-hc/zygisk-detach) module to detach YouTube and YT Music from Play Store"
|
||||||
fi
|
fi
|
||||||
log "\n[revanced-magisk-module](https://github.com/j-hc/revanced-magisk-module)"
|
log "\n[revanced-magisk-module](https://github.com/j-hc/revanced-magisk-module)"
|
||||||
log "\nChangelog:"
|
log "\nChangelog:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user