Skip to content

Commit

Permalink
use busybox sh instead of sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Dec 15, 2024
1 parent 790c6ba commit ce32314
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ internal class APatchModuleManagerImpl(
"export APATCH=true",
"export APATCH_VER=${version}",
"export APATCH_VER_CODE=${versionCode}",
"sh /data/adb/modules/$modId/action.sh"
"busybox sh /data/adb/modules/$modId/action.sh"
)

action(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ internal abstract class BaseModuleManagerImpl(
}

val cmds = arrayOf(
"export PATH=/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:\$PATH",
"export MMRL=true",
"export BOOTMODE=true",
"export ARCH=${Build.SUPPORTED_ABIS[0]}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ internal class KernelSUModuleManagerImpl(
"export KSU=true",
"export KSU_VER=${version}",
"export KSU_VER_CODE=${versionCode}",
"sh /data/adb/modules/$modId/action.sh"
"busybox sh /data/adb/modules/$modId/action.sh"
)

action(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ internal class MagiskModuleManagerImpl(
"export MAGISK=true",
"export MAGISK_VER=${version}",
"export MAGISK_VER_CODE=${versionCode}",
"sh /data/adb/modules/$modId/action.sh"
"busybox sh /data/adb/modules/$modId/action.sh"
)

action(
Expand Down

0 comments on commit ce32314

Please sign in to comment.