You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
Minor changes
This commit is contained in:
@@ -26,11 +26,8 @@ create_sys_perm() {
|
|||||||
chcon u:object_r:system_file:s0 $1
|
chcon u:object_r:system_file:s0 $1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$(which magisk)" ]; then
|
TMP_PATH=/sbin
|
||||||
export TMP_PATH="$(magisk --path)/zygisksu"
|
[ -f /sbin ] || TMP_PATH=/debug_ramdisk
|
||||||
else
|
|
||||||
export TMP_PATH="$(ksud path)/zygisksu"
|
|
||||||
fi
|
|
||||||
|
|
||||||
create_sys_perm $TMP_PATH
|
create_sys_perm $TMP_PATH
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
MODDIR=${0%/*}/..
|
MODDIR=${0%/*}/..
|
||||||
|
|
||||||
if [ "$(which magisk)" ]; then
|
TMP_PATH=/sbin
|
||||||
export TMP_PATH="$(magisk --path)/zygisksu"
|
[ -f /sbin ] || TMP_PATH=/debug_ramdisk
|
||||||
else
|
|
||||||
export TMP_PATH="$(ksud path)/zygisksu"
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec $MODDIR/bin/zygisk-ptrace64 ctl $*
|
exec $MODDIR/bin/zygisk-ptrace64 ctl $*
|
||||||
|
|||||||
Reference in New Issue
Block a user