mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-06-12 21:27:41 +02:00
configurable magisk update
This commit is contained in:
14
utils.sh
14
utils.sh
@ -219,8 +219,11 @@ name=YouTube ReVanced
|
||||
version=v${1}
|
||||
versionCode=${NEXT_VER_CODE}
|
||||
author=j-hc
|
||||
description=mounts base.apk for YouTube ReVanced
|
||||
updateJson=https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/update/yt-update.json" >"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||
description=mounts base.apk for YouTube ReVanced" >"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||
|
||||
if [ "$ENABLE_MAGISK_UPDATE" = true ]; then
|
||||
echo "updateJson=https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/update/yt-update.json" >>"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||
fi
|
||||
}
|
||||
|
||||
music_module_prop() {
|
||||
@ -240,6 +243,9 @@ name=YouTube Music ReVanced
|
||||
version=v${1}
|
||||
versionCode=${NEXT_VER_CODE}
|
||||
author=j-hc
|
||||
description=mounts base.apk for YouTube Music ReVanced
|
||||
updateJson=${update_json}" >"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||
description=mounts base.apk for YouTube Music ReVanced" >"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||
|
||||
if [ "$ENABLE_MAGISK_UPDATE" = true ]; then
|
||||
echo "updateJson=${update_json}" >>"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user