Magisk version 26.1+ required

Magisk below this version will not work on WSA with modules that use custom sepolicy
This commit is contained in:
Howard Wu 2023-05-15 02:22:21 +08:00
parent 5c2218df43
commit 6f9d5f0087

View file

@ -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