mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-01 15:14:25 +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"
|
MUSIC_PATCHER_ARGS="-e microg-support"
|
||||||
|
|
||||||
BUILD_YT=true
|
BUILD_YT=true
|
||||||
@ -6,6 +6,8 @@ BUILD_MUSIC_ARM64_V8A=true
|
|||||||
BUILD_MUSIC_ARM_V7A=true
|
BUILD_MUSIC_ARM_V7A=true
|
||||||
BUILD_TWITTER=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
|
UPDATE_PREBUILTS=true
|
||||||
|
|
||||||
# this is the repo to fallback for magisk update json if you are not building on github actions ↓
|
# 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}
|
version=v${1}
|
||||||
versionCode=${NEXT_VER_CODE}
|
versionCode=${NEXT_VER_CODE}
|
||||||
author=j-hc
|
author=j-hc
|
||||||
description=mounts base.apk for YouTube ReVanced
|
description=mounts base.apk for YouTube ReVanced" >"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||||
updateJson=https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/update/yt-update.json" >"${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() {
|
music_module_prop() {
|
||||||
@ -240,6 +243,9 @@ name=YouTube Music ReVanced
|
|||||||
version=v${1}
|
version=v${1}
|
||||||
versionCode=${NEXT_VER_CODE}
|
versionCode=${NEXT_VER_CODE}
|
||||||
author=j-hc
|
author=j-hc
|
||||||
description=mounts base.apk for YouTube Music ReVanced
|
description=mounts base.apk for YouTube Music ReVanced" >"${MODULE_TEMPLATE_DIR}/module.prop"
|
||||||
updateJson=${update_json}" >"${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