Update open app cmdline
This commit is contained in:
parent
0a26993039
commit
6b01a1a3ac
|
|
@ -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"
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue