mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Clean up more codes
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user