Bump min module Magisk version to v20.0
It has been over half an year now, time for an update!
This commit is contained in:
parent
8ca5a048d6
commit
800b7f4370
@ -11,7 +11,7 @@ ui_print() { echo "$1"; }
|
||||
|
||||
require_new_magisk() {
|
||||
ui_print "*******************************"
|
||||
ui_print " Please install Magisk v19.0+! "
|
||||
ui_print " Please install Magisk v20.0+! "
|
||||
ui_print "*******************************"
|
||||
exit 1
|
||||
}
|
||||
@ -27,7 +27,7 @@ mount /data 2>/dev/null
|
||||
|
||||
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
|
||||
. /data/adb/magisk/util_functions.sh
|
||||
[ $MAGISK_VER_CODE -lt 19000 ] && require_new_magisk
|
||||
[ $MAGISK_VER_CODE -lt 20000 ] && require_new_magisk
|
||||
|
||||
if [ $MAGISK_VER_CODE -ge 20400 ]; then
|
||||
# New Magisk have complete installation logic within util_functions.sh
|
||||
|
Loading…
Reference in New Issue
Block a user