mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 09:17:38 +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…
x
Reference in New Issue
Block a user