mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
`PhotoCraft --launch-profile nightly-v1 --profile-root <dir> --version`, the shared producer's smoke, was refused by the strict launch-profile parser (no `--`), and the refusal opens a native dialog on macOS, which never returns on a headless runner: the hosted run did not exit in 180 s. A Nightly build now treats exactly the selector/root pair followed by `--version` or `-V` as a version query: the same line as plain `--version`, exit 0, before root validation, process identity, IPC or any window. Only parse()'s lexical checks apply; every other refusal is unchanged and `-- --version` stays a file name. nightly-verify.sh checks both forms, each within 15 seconds and with nothing on standard error, so the PR's Mac build covers the smoke.