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