Files
wordcraft/docs
skylartaylor ed712acdab fix(nightly): one Linux launcher, a working tar step and persistent Flatpak state
Batch 2A review fixes on top of 4279762e:

- One launcher (packaging/linux/nightly-launcher.sh) serves the app-owned
  nightly tar, the deb/rpm wrapper, the AppImage AppRun, the Arch handoff and
  the Flatpak bundle. It passes an already-supplied --launch-profile (and
  --version/-V) straight through, so the ArtCraft Launcher's own profile root is
  honoured instead of being wrapped into file names, and it resolves its own
  folder (also when a shell finds it through PATH) rather than a relative path.
- The profile moves to ${XDG_DATA_HOME:-$HOME/.local/share}/wordcraft-nightly,
  which persists inside the Flatpak sandbox; the sandbox home does not, so
  preferences, recovery and autosaves were lost on every exit.
- package.sh's nightly tar step uses the tar's real member paths (no usr/), so
  the tar format no longer aborts and the Flatpak bundle can be built from it.
- The app-owned tar uses the standard layout: `wordcraft` is the launcher and
  `wordcraft-bin` the GUI (was wordcraft.real). The archive allowlist and its
  tests follow, and nightly-build.yml's exact member check accepts the OFL-*.txt
  licences CRAFT_FONTS_DIR adds.
- Windows: the print helper runs before prepare_launch(), so File > Print works
  in a Nightly build instead of hitting the launch-profile refusal.
- sign.ps1 keeps the stable signing step's random create-new temp folder; only
  the Nightly additions remain.
- Drop our dormant nightly-dispatch.yml, as in the other apps.
- profile_root: a test pins the Flatpak's own data folder as an accepted profile.

Tests: new packaging/linux/nightly-package-test.sh renders package.sh's nightly
tar with stub binaries and runs the extracted launcher (plain, the Launcher
form, --version, XDG_DATA_HOME, a PATH lookup from another directory, and the
AppImage and flat layouts); nightly-arch-tar-test.sh covers the Launcher form
and the data-home profile.
- Fix a compile error in the flavour's own window body: the unclean-session notice flag
  (an Arc) was moved into the window closure and then read after run_native, so
  cargo check failed with E0382. The window body now takes its own clone, as the exit
  hook already did; found by the first capped cargo check in this pass.
2026-11-25 00:16:15 +01:00
..
2026-10-26 03:04:40 +00:00
2026-11-08 16:18:07 +01:00