diff --git a/build.gradle.kts b/build.gradle.kts index d21305e9..a8dd0ef3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,11 +20,11 @@ val gitCommitHash = "git rev-parse --verify --short HEAD".execute() val moduleId by extra("zygisksu") val moduleName by extra("Zygisk Next") -val verName by extra("v4-0.9.1") +val verName by extra("v4-0.9.1.1") val verCode by extra(gitCommitCount) val commitHash by extra(gitCommitHash) val minKsuVersion by extra(10940) -val minKsudVersion by extra(11424) +val minKsudVersion by extra(11425) val maxKsuVersion by extra(20000) val minMagiskVersion by extra(26402) diff --git a/module/src/post-fs-data.sh b/module/src/post-fs-data.sh index 980a552c..cf744bea 100644 --- a/module/src/post-fs-data.sh +++ b/module/src/post-fs-data.sh @@ -26,8 +26,8 @@ create_sys_perm() { chcon u:object_r:system_file:s0 $1 } -TMP_PATH=/sbin -[ -f /sbin ] || TMP_PATH=/debug_ramdisk +export TMP_PATH=/sbin +[ -d /sbin ] || export TMP_PATH=/debug_ramdisk create_sys_perm $TMP_PATH diff --git a/module/src/zygisk-ctl.sh b/module/src/zygisk-ctl.sh index ba843a81..861adce0 100644 --- a/module/src/zygisk-ctl.sh +++ b/module/src/zygisk-ctl.sh @@ -1,6 +1,6 @@ MODDIR=${0%/*}/.. -TMP_PATH=/sbin -[ -f /sbin ] || TMP_PATH=/debug_ramdisk +export TMP_PATH=/sbin +[ -d /sbin ] || export TMP_PATH=/debug_ramdisk exec $MODDIR/bin/zygisk-ptrace64 ctl $*