mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Skip magisk32 for 64bit only avd
This commit is contained in:
parent
4ee4cbada6
commit
ff1c56683d
@ -57,7 +57,7 @@ export KEEPFORCEENCRYPT=true
|
|||||||
|
|
||||||
echo "KEEPVERITY=$KEEPVERITY" > config
|
echo "KEEPVERITY=$KEEPVERITY" > config
|
||||||
echo "KEEPFORCEENCRYPT=$KEEPFORCEENCRYPT" >> config
|
echo "KEEPFORCEENCRYPT=$KEEPFORCEENCRYPT" >> config
|
||||||
if [ -e "/system/bin/linker64" ]; then
|
if [ -f magisk64 ]; then
|
||||||
echo "PREINITDEVICE=$(./magisk64 --preinit-device)" >> config
|
echo "PREINITDEVICE=$(./magisk64 --preinit-device)" >> config
|
||||||
else
|
else
|
||||||
echo "PREINITDEVICE=$(./magisk32 --preinit-device)" >> config
|
echo "PREINITDEVICE=$(./magisk32 --preinit-device)" >> config
|
||||||
@ -73,7 +73,7 @@ if [ -f magisk64 ]; then
|
|||||||
./magiskboot compress=xz magisk64 magisk64.xz
|
./magiskboot compress=xz magisk64 magisk64.xz
|
||||||
unset SKIP64
|
unset SKIP64
|
||||||
fi
|
fi
|
||||||
if [ -f magisk32 ]; then
|
if [ -e "/system/bin/linker" ]; then
|
||||||
./magiskboot compress=xz magisk32 magisk32.xz
|
./magiskboot compress=xz magisk32 magisk32.xz
|
||||||
unset SKIP32
|
unset SKIP32
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user