krz/daybyday

iOS learning games for young children: days, months, seasons, numbers, letters, animals and more. education ios kids swift https://krz.sh/apps/daybyday/

Commit 7520ce2445

7520ce24456748bac351208d295a16ca9ad14fbf

parent: afbc417c28

Verified · cmc ci/gitbay-security: success

cmc <hello@cleberg.net> · 2026-11-01 05:44 UTC

Quote $all in the scene index lookup

Ref #17

Layout: unified · split

scripts/take-screenshots.sh +1 −1
@@ -41,7 +41,7 @@ shoot() { # device name, output folder
41 xcrun simctl install "$device" "$app" 41 xcrun simctl install "$device" "$app"
42 mkdir -p "$out/$2" 42 mkdir -p "$out/$2"
43 for scene in $scenes; do 43 for scene in $scenes; do
44 n="$(printf '%s\n' $all | grep -nx "$scene" | cut -d: -f1)" 44 n="$(printf '%s\n' "$all" | tr ' ' '\n' | grep -nx "$scene" | cut -d: -f1)"
45 [ -n "$n" ] || { echo "Unknown scene $scene; one of: $all" >&2; exit 1; } 45 [ -n "$n" ] || { echo "Unknown scene $scene; one of: $all" >&2; exit 1; }
46 xcrun simctl terminate "$device" "$bundle" 2>/dev/null || true 46 xcrun simctl terminate "$device" "$bundle" 2>/dev/null || true
47 # Set per launch: changing content_size restarts the status bar and drops the override. 47 # Set per launch: changing content_size restarts the status bar and drops the override.