mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-28 22:08:20 -08:00
Every packaging smoke runs `<gui> --version` first, and a nightly refused it: the startup test only accepted the Launcher's selector/root form, so the plain query fell into the profile check, printed the refusal (a modal on Windows/macOS) and exited 2. Both forms are now answered by the pure `early_version_query`, with a regression test, which also gives `build_flavor::version_query` its caller. Also from the review: `craft-atomic` is a real dependency (the session record uses it), `Cargo.lock` gains only its three missing lines, the CLI's duplicate `mod tests` is merged, `recovery_dir` is `#[cfg(test)]`, the `FLATPAK_ID` let-chain is formatted, and the workflow's `ls | grep -v` member check is a glob loop (actionlint SC2010). Kit standard: the nightly tar is `<app>` launcher plus `<app>-bin` GUI, every launcher passes a caller's `--launch-profile`/`--profile-root`/`--version`/`--help` through in either order and strips a caller-written `--`, and the app never opens a repeated delimiter as a file. Stable keeps its behaviour when `MATERIALCRAFT_BUILD_SHA` is set.