feat(ffi): prove dart-to-rust pipeline and arm64 determinism on device

This commit is contained in:
2026-10-24 22:27:48 +02:00
parent 214ab7aac7
commit e371c72a35
11 changed files with 276 additions and 114 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Launches the app and captures a screenshot sequence for visual review.
set -euo pipefail
ADB=${ADB:-adb}
PKG=${PKG:-com.ironarc.iron_arc}
OUT=${OUT:-/tmp/shots}
COUNT=${1:-3}
DELAY=${2:-3}
mkdir -p "$OUT"
$ADB shell am force-stop "$PKG"
$ADB shell am start -n "$PKG/.MainActivity" >/dev/null
for i in $(seq 1 "$COUNT"); do
sleep "$DELAY"
$ADB exec-out screencap -p > "$OUT/shot-$i.png"
done
echo "screenshots in $OUT"