fix wrong module name in customize.sh

This commit is contained in:
LY(退网/offline)
2024-08-11 15:32:27 +08:00
committed by chiteroman
parent b559646d7b
commit a407a01b34
2 changed files with 3 additions and 2 deletions

View File

@@ -111,7 +111,8 @@ afterEvaluate {
"DEBUG" to if (buildTypeLowered == "debug") "true" else "false",
"SONAME" to moduleId,
"SUPPORTED_ABIS" to supportedAbis,
"MIN_SDK" to androidMinSdkVersion.toString()
"MIN_SDK" to androidMinSdkVersion.toString(),
"MODULENAME" to moduleName
)
filter<ReplaceTokens>("tokens" to tokens)
filter<FixCrLfFilter>("eol" to FixCrLfFilter.CrLf.newInstance("lf"))

View File

@@ -12,7 +12,7 @@ if [ "$BOOTMODE" ] && [ "$KSU" ]; then
if [ "$(which magisk)" ]; then
ui_print "*********************************************************"
ui_print "! Multiple root implementation is NOT supported!"
ui_print "! Please uninstall Magisk before installing Zygisk Next"
ui_print "! Please uninstall Magisk before installing @MODULENAME@"
abort "*********************************************************"
fi
elif [ "$BOOTMODE" ] && [ "$MAGISK_VER_CODE" ]; then