From 219970bba543bcec3df092eb0ee8c505927fe5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E7=A7=8B=E6=9E=AB=E5=BD=B1?= <18218380+naicfeng@users.noreply.github.com> Date: Mon, 3 Apr 2023 11:46:27 +0800 Subject: [PATCH] ksud: Fix installer.sh modules path (#327) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/tiann/KernelSU/commit/ee09b9f9f4c1b42da3af5cc4df96629e4f6c0745 修改了模块路径,installer.sh 没有修改,导致管理器无法刷新模块(安装/更新/卸载)状态 --- userspace/ksud/src/installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userspace/ksud/src/installer.sh b/userspace/ksud/src/installer.sh index ec066070..7d52582f 100644 --- a/userspace/ksud/src/installer.sh +++ b/userspace/ksud/src/installer.sh @@ -337,7 +337,7 @@ install_module() { [ ! -f $TMPDIR/module.prop ] && abort "! Unable to extract zip file!" local MODDIRNAME=modules - $BOOTMODE && MODDIRNAME=modules_update + $BOOTMODE && MODDIRNAME=ksu/modules_update local MODULEROOT=$NVBASE/$MODDIRNAME MODID=`grep_prop id $TMPDIR/module.prop` MODNAME=`grep_prop name $TMPDIR/module.prop` @@ -434,7 +434,7 @@ install_module() { [ -z $BOOTMODE ] && ps -A 2>/dev/null | grep zygote | grep -qv grep && BOOTMODE=true [ -z $BOOTMODE ] && BOOTMODE=false -NVBASE=/data/adb/ksu +NVBASE=/data/adb TMPDIR=/dev/tmp # Some modules dependents on this