fix deployWithAdb only working for the debug app

This commit is contained in:
Cloudburst 2022-08-19 11:25:01 +02:00 committed by GitHub
parent 77686b33fd
commit 8d84a80740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ abstract class DeployWithAdbTask : DefaultTask() {
device.push(file, RemoteFile(path + file.name)) 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) { if (waitForDebugger) {
args.add("-D") args.add("-D")