diff --git a/magisk-loader/magisk_module/customize.sh b/magisk-loader/magisk_module/customize.sh index b8bdbce3c..8f9072578 100644 --- a/magisk-loader/magisk_module/customize.sh +++ b/magisk-loader/magisk_module/customize.sh @@ -93,7 +93,7 @@ extract "$ZIPFILE" 'cli' '/data/adb/lspd/bin' if [ "$FLAVOR" == "zygisk" ]; then # extract only if KernelSU - if [ "$KSU" ]; then + if [ "$KSU" ] || [ "$APATCH" ]; then # webroot only for zygisk mkdir -p "$MODPATH/webroot" extract "$ZIPFILE" "webroot/index.html" "$MODPATH/webroot" true