[core] Tell user to properly reinstall Magisk if version mismatch (#1515)

This commit is contained in:
残页 2022-01-07 20:13:55 +08:00 committed by GitHub
parent d7ea7aff03
commit 1a2dc545ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ check_magisk_version() {
if [ "$MAGISK_VER_CODE" -lt 23000 ]; then
ui_print "*********************************************************"
ui_print "! Please install Magisk v23+"
ui_print "! If you already have Magisk v23+ installed, "
ui_print "! Re-install Magisk from Magisk app"
abort "*********************************************************"
fi
elif [ "$FLAVOR" == "zygisk" ]; then