Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

ci(native): pass the screenshot clock on the Mac's bash 3

Maurice35d2b19f4c96
diff --git a/client/ios/scripts/watch-screens.sh b/client/ios/scripts/watch-screens.sh
index dc526f699..346241a3c 100644
--- a/client/ios/scripts/watch-screens.sh
+++ b/client/ios/scripts/watch-screens.sh
@@ -79,7 +79,7 @@ shot() {
[ "$clock" = - ] || extra=(-TrekNow "$clock")
xcrun simctl launch "$udid" "$BUNDLE" \
-AppleLanguages "($lang)" -AppleLocale "$locale" -TrekDemo "$screen" -TrekScenario "$scenario" \
- -TrekReady "$TOKEN" "${extra[@]}" >/dev/null 2>&1 || continue
+ -TrekReady "$TOKEN" ${extra[@]+"${extra[@]}"} >/dev/null 2>&1 || continue
wait_ready "$udid" "$TOKEN" || continue
# The map's tiles come over the network after the screen is up.
[ "$screen" = place ] && sleep 6