From be960793f0911619d913ed45ee21200d1f061a30 Mon Sep 17 00:00:00 2001 From: rhjdvsgsgks <26178113+rhjdvsgsgks@users.noreply.github.com> Date: Tue, 4 Nov 2025 20:09:02 +0000 Subject: [PATCH] remove NVBASE https://github.com/topjohnwu/Magisk/commit/d33b077a13b34691a7f1fd3643336e09383ced78 --- customize.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/customize.sh b/customize.sh index 8d309c8..ff952c9 100755 --- a/customize.sh +++ b/customize.sh @@ -28,8 +28,8 @@ sed -i -e "s||$libs|" $MODPATH/service.sh # Set vars in script [ -z $KSU ] && KSU=false -[ -z $SERVICED ] && SERVICED=$NVBASE/service.d -amldir=$NVBASE/aml +[ -z $SERVICED ] && SERVICED=/data/adb/service.d +amldir=/data/adb/aml for i in API amldir KSU MAGISK_VER; do for j in post-fs-data service uninstall; do sed -i "s|$i=|$i=$(eval echo \$$i)|" $MODPATH/$j.sh @@ -40,7 +40,7 @@ done mkdir $SERVICED 2>/dev/null cp -f $MODPATH/uninstall.sh $SERVICED/aml.sh chmod 0755 $SERVICED/aml.sh -sed -i -e "3a[ -d \"\$moddir/$MODID\" -a ! -f \"\$moddir/$MODID/disable\" ] && exit 0" -e "s|^moddir=.*|moddir=$NVBASE/modules|" $SERVICED/aml.sh +sed -i -e "3a[ -d \"\$moddir/$MODID\" -a ! -f \"\$moddir/$MODID/disable\" ] && exit 0" -e "s|^moddir=.*|moddir=/data/adb/modules|" $SERVICED/aml.sh echo 'rm -f $0' >> $SERVICED/aml.sh -rm -f $MODPATH/install.zip \ No newline at end of file +rm -f $MODPATH/install.zip