mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
configurable magisk update
This commit is contained in:
parent
52270c20d9
commit
cf64a4c6e2
@ -1,4 +1,4 @@
|
||||
YT_PATCHER_ARGS="-e microg-support"
|
||||
YT_PATCHER_ARGS="-e microg-support" # ex: for excluding patches: -e patchname -e anotherpatchname
|
||||
MUSIC_PATCHER_ARGS="-e microg-support"
|
||||
|
||||
BUILD_YT=true
|
||||
@ -6,6 +6,8 @@ BUILD_MUSIC_ARM64_V8A=true
|
||||
BUILD_MUSIC_ARM_V7A=true
|
||||
BUILD_TWITTER=true
|
||||
|
||||
ENABLE_MAGISK_UPDATE=true # set this to false if you do not want to receive updates from magisk app
|
||||
|
||||
UPDATE_PREBUILTS=true
|
||||
|
||||
# this is the repo to fallback for magisk update json if you are not building on github actions ↓
|
||||
|
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user