feat(lab): build Lab builds on the device and report the APK commit to agents

This commit is contained in:
Kurt Himebauch committed 2026-11-09 17:08:29 -05:00
1 parent f3f3f9ce08
commit 5d63cc3b9e
8 files changed
+252 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# Opens a URL in Android's browser on the bottom screen.
url=$1
[ -n "$url" ] || exit 1
serial=${ADB_SERIAL:-127.0.0.1:5555}
adb connect "$serial" >/dev/null 2>&1
quoted=$(printf "%s" "$url" | sed "s/'/'\\''/g")
adb -s "$serial" shell "am start --display 2 -a android.intent.action.VIEW -d '$quoted'" >/dev/null 2>&1 ||
echo "Open this on any device: $url" >&2