Update open app cmdline

This commit is contained in:
vvb2060 2022-12-03 01:05:08 +08:00 committed by LoveSy
parent 0a26993039
commit 6b01a1a3ac
1 changed files with 3 additions and 13 deletions

View File

@ -294,11 +294,7 @@ val reRunDaemon = task<Exec>("reRunDaemon") {
dependsOn(pushDaemon, pushDaemonNative, killLspd)
// tricky to pass a minus number to avoid the injection warning
commandLine(
adb,
"shell",
"ASH_STANDALONE=1",
"su",
"-pc",
adb, "shell", "ASH_STANDALONE=1", "su", "-pc",
"/data/adb/magisk/busybox sh /data/adb/modules/*_lsposed/service.sh --system-server-max-retry=-1&"
)
isIgnoreExitValue = true
@ -313,14 +309,8 @@ val pushApk = task<Exec>("pushApk") {
val openApp = task<Exec>("openApp") {
group = "LSPosed"
commandLine(
adb,
"shell",
"am",
"start",
"-a",
"android.intent.action.MAIN",
"-c",
"org.lsposed.manager.LAUNCH_MANAGER",
adb, "shell",
"am", "start", "-c", "org.lsposed.manager.LAUNCH_MANAGER",
"com.android.shell/.BugreportWarningActivity"
)
}