Clean up more codes

This commit is contained in:
LoveSy
2023-03-17 20:08:31 +08:00
committed by John Wu
parent 5c325d9466
commit 54ecc001f4
10 changed files with 8 additions and 23 deletions

View File

@ -3,7 +3,7 @@
# AVD Magisk Setup
#####################################################################
#
# Support API level: 21 - 33
# Support API level: 23 - 33
#
# With an emulator booted and accessible via ADB, usage:
# ./build.py emulator

View File

@ -3,7 +3,7 @@
# AVD MagiskInit Setup
#####################################################################
#
# Support API level: 23 - 33 (21 and 22 images do not have SELinux)
# Support API level: 23 - 33
#
# With an emulator booted and accessible via ADB, usage:
# ./build.py avd_patch path/to/booted/avd-image/ramdisk.img

View File

@ -48,7 +48,7 @@ ui_print "- Target image: $BOOTIMAGE"
# Detect version and architecture
api_level_arch_detect
[ $API -lt 21 ] && abort "! Magisk only support Android 5.0 and above"
[ $API -lt 23 ] && abort "! Magisk only support Android 6.0 and above"
ui_print "- Device platform: $ABI"