You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
No hardcode temp dir
This commit is contained in:
@@ -26,7 +26,11 @@ create_sys_perm() {
|
||||
chcon u:object_r:system_file:s0 $1
|
||||
}
|
||||
|
||||
TMP_PATH="/debug_ramdisk/zygisksu"
|
||||
if [ "$(which magisk)" ]; then
|
||||
export TMP_PATH="$(magisk --path)/zygisksu"
|
||||
else
|
||||
export TMP_PATH="/debug_ramdisk/zygisksu"
|
||||
fi
|
||||
|
||||
create_sys_perm $TMP_PATH
|
||||
|
||||
|
||||
Reference in New Issue
Block a user