Use relative path

This commit is contained in:
Nullptr
2023-02-15 11:06:46 +08:00
parent fc9bc3b28f
commit 5c00071fed
10 changed files with 23 additions and 34 deletions

View File

@@ -1,5 +1,8 @@
#!/system/bin/sh
MODDIR=${0%/*}
cd $MODDIR
export NATIVE_BRIDGE=$(getprop ro.dalvik.vm.native.bridge)
unshare -m sh -c "$MODDIR/daemon.sh $@&"
unshare -m sh -c "./daemon.sh $@&"