Ariver
2026-06-09 146fbcf6430d2513df7fb536c7e9ace81f1e57b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# Round01 real Space/Window snapshot dump. This is a diagnostic entrypoint and
# must not be treated as a product UI.
 
set -euo pipefail
 
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
OUTPUT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
# shellcheck source=build-output-paths.sh
source "$SCRIPT_DIR/build-output-paths.sh"
SOURCE_ROOT="$OUTPUT_ROOT/C1.source"
APP="$BUILD_CURRENT_APP"
 
cd "$SOURCE_ROOT"
swift build >&2
 
"$SCRIPT_DIR/package-app.sh" >&2
 
"$APP/Contents/MacOS/Aligner" \
  --round0-skip-permissions \
  --round01-dump-window-snapshot \
  --round01-dump-window-snapshot-pretty