From 8d84a807406f694a8060680ba531d06c8afd214d Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Fri, 19 Aug 2022 11:25:01 +0200 Subject: [PATCH] fix deployWithAdb only working for the debug app --- .../lagradost/cloudstream3/gradle/tasks/DeployWithAdbTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/DeployWithAdbTask.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/DeployWithAdbTask.kt index daae4d3..64adba4 100644 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/DeployWithAdbTask.kt +++ b/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/DeployWithAdbTask.kt @@ -43,7 +43,7 @@ abstract class DeployWithAdbTask : DefaultTask() { device.push(file, RemoteFile(path + file.name)) - val args = arrayListOf("start", "-S", "-n", "com.lagradost.cloudstream3.debug/com.lagradost.cloudstream3.MainActivity") + val args = arrayListOf("start", "-a", "android.intent.action.VIEW", "-d", "cloudstreamapp:") if (waitForDebugger) { args.add("-D")