From 800f5d96220ce42ef178c0b1c4e5f9e983ec32e5 Mon Sep 17 00:00:00 2001 From: skylartaylor Date: Wed, 25 Nov 2026 16:49:47 +0100 Subject: [PATCH] Say in the docs that the tar launcher is the shared template --- docs/nightly-release-preparation.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/nightly-release-preparation.md b/docs/nightly-release-preparation.md index 1517a514f..47b531db5 100644 --- a/docs/nightly-release-preparation.md +++ b/docs/nightly-release-preparation.md @@ -105,21 +105,24 @@ traversing root, a root that resolves through a link into a fenced folder, an in `${XDG_DATA_HOME:-$HOME/.local/share}/gridcraft-nightly/profile`, a sibling of stable's `/gridcraft`, never an ancestor. -**Every Linux format ships a launcher, and each passes an already-supplied profile through.** +**Every Linux format ships a launcher.** The flat nightly tar's `gridcraft` is craft-common-actions' +shared launcher template (`scripts/nightly-launcher.sh.in` from #363, rendered for this app), so it always +supplies its own profile; the packaged formats pass an already-supplied profile through. | Format | Launcher | GUI | Data root | |---|---|---|---| | deb/rpm | `/usr/bin/gridcraft-nightly` | `/usr/lib/gridcraft-nightly/gridcraft` | `/gridcraft-nightly/profile` | | AppImage | `AppRun` (a script) and `usr/bin/gridcraft-nightly` | `usr/bin/gridcraft` | same | -| flat nightly tar | `gridcraft` | `gridcraft-bin` | same | +| flat nightly tar | `gridcraft` (the shared template) | `gridcraft-bin` | `/ai.storyteller.gridcraft.nightly` | | plain tree tarball | `bin/gridcraft-nightly` | `bin/gridcraft` | same | | Arch handoff | `bin/gridcraft-nightly` | `.gridcraft-nightly/gridcraft` | same | | Flatpak bundle | `/app/bin/gridcraft-nightly` | `/app/bin/gridcraft` | the sandbox's own `~/.local/share` | The flat nightly tar uses the kit's standard layout: `` is the launcher people run and `-bin` is the GUI ELF it starts, so the shared Unix verifier can keep requiring `gridcraft` -as the entrypoint. No launcher falls back to a relative or world-writable path for the GUI, and a -candidate that is the launcher itself is never started. +as the entrypoint. That launcher is the shared template: it resolves its own directory once and execs +`gridcraft-bin` with `--launch-profile nightly-v1 --profile-root /ai.storyteller.gridcraft.nightly --` +and the user's arguments, asking a bare `--version`/`-V` in the Launcher's own form. **macOS and Windows.** `GridCraft Nightly.app` (`CFBundleIdentifier ai.storyteller.gridcraft.nightly`, associations removed) is built and verified unsigned on main and