From 16a36c812fabda812ecf3aaa7f12fa6f44c66b2e Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 21 Apr 2023 23:50:38 +0100 Subject: Jetpack Compose and material --- run | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 run (limited to 'run') diff --git a/run b/run new file mode 100755 index 0000000..2e01c69 --- /dev/null +++ b/run @@ -0,0 +1,5 @@ +#!/bin/sh +package=$(xmllint --xpath "string(/manifest/@package)" AndroidManifest.xml) +adb install -r -t paste.signed.apk || exit +#todo: use xpath to find the activity +adb shell am start -n "$package/.MainActivity" -- cgit v1.2.3-54-g00ecf