mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
scripts: improve boot_patch 64bit detection
- use existing api_level_arch_detect function Fixes #3961
This commit is contained in:
parent
901d22cdfa
commit
7b9a71c9af
@ -54,7 +54,7 @@ if [ -z $SOURCEDMODE ]; then
|
||||
# Load utility functions
|
||||
. ./util_functions.sh
|
||||
# Check if 64-bit
|
||||
[ -d /system/lib64 ] && IS64BIT=true || IS64BIT=false
|
||||
api_level_arch_detect
|
||||
fi
|
||||
|
||||
BOOTIMAGE="$1"
|
||||
|
Loading…
Reference in New Issue
Block a user