From 6f9d5f008773972e7e03e9908ebed54d5b770e39 Mon Sep 17 00:00:00 2001 From: Howard Wu Date: Mon, 15 May 2023 02:22:21 +0800 Subject: [PATCH] Magisk version 26.1+ required Magisk below this version will not work on WSA with modules that use custom sepolicy --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index a2ba083..9e8e899 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -572,8 +572,8 @@ if [ "$GAPPS_BRAND" != "none" ] || [ "$ROOT_SOL" = "magisk" ]; then fi # shellcheck disable=SC1090 source "$WSA_WORK_ENV" || abort - if [ "$MAGISK_VERSION_CODE" -lt 25211 ] && [ "$MAGISK_VER" != "stable" ] && [ -z ${CUSTOM_MAGISK+x} ]; then - echo "Please install Magisk 25211+" + if [ "$MAGISK_VERSION_CODE" -lt 26100 ] && [ "$MAGISK_VER" != "stable" ] && [ -z ${CUSTOM_MAGISK+x} ]; then + echo "Please install Magisk 26.1+" abort fi sudo chmod +x "../linker/$HOST_ARCH/linker64" || abort