You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: not extracting any binaries in some devices
The commit fixes the issue that in devices that "ro.system.product.cpu.abilist" doesn't exist, it will cause ReZygisk "customize.sh" to not extract any binaries. Because of that, we'll fallback to the old "ro.product.cpu.abilist" when "ro.system.product.cpu.abilist" doesn't exist.
This commit is contained in:
@@ -113,6 +113,7 @@ ui_print "- Extracting webroot"
|
||||
unzip -o "$ZIPFILE" "webroot/*" -x "*.sha256" -d "$MODPATH"
|
||||
|
||||
CPU_ABIS=$(getprop ro.system.product.cpu.abilist)
|
||||
CPU_ABIS=${CPU_ABIS:-$(getprop ro.product.cpu.abilist)}
|
||||
|
||||
SUPPORTS_32BIT=false
|
||||
SUPPORTS_64BIT=false
|
||||
|
||||
@@ -47,6 +47,7 @@ if [ -f $MODDIR/lib/libzygisk.so ];then
|
||||
fi
|
||||
|
||||
CPU_ABIS=$(getprop ro.system.product.cpu.abilist)
|
||||
CPU_ABIS=${CPU_ABIS:-$(getprop ro.product.cpu.abilist)}
|
||||
|
||||
if [[ "$CPU_ABIS" == *"arm64-v8a"* || "$CPU_ABIS" == *"x86_64"* ]]; then
|
||||
./bin/zygisk-ptrace64 monitor &
|
||||
|
||||
Reference in New Issue
Block a user