Files
skylartaylor 9bd17d5ce5 Nightly: fix the batch-1 review findings
Blocking:
- rustfmt the flavor's files (main.rs, profile_root.rs, launch_profile.rs); `cargo xtask ci`
  runs fmt first and this tree failed it.
- The Nightly Flatpak refused its own launch: FLATPAK_ID is always set inside the sandbox, and
  only the bundle's own package id (ai.storyteller.texturecraft.nightly) is accepted now, with
  a fence test for the accepted and the refused ids.
- Stable's eframe settings no longer move: with_app_id would have taken app.ron (window state
  and the user's export presets) to the app id's folder while ui.json and errors.log stayed
  behind, so persistence_path is explicit again and one helper owns the choice.
- The Linux fence now names the folder eframe really uses for Stable
  ($XDG_DATA_HOME/texturecraft, lowercase), and the test list carries it.

Should-fix:
- clippy: and_then(parse_args_from) instead of a redundant closure.
- The Nightly Linux formats ship the GUI only: texturecraft-cli loads its brush presets from
  Stable's Documents/TextureCraft and cannot be isolated by the launch profile. Dropped from
  the deb/rpm stage, its nfpm file list and description, the Flatpak manifest and the Arch
  handoff; the Flatpak smoke asks the app instead.
- The Nightly icons left hicolor/ for assets/app-icon/nightly/, so Stable's Linux and FreeBSD
  packages cannot ship them; title bar, generator, provenance and README follow.
- TEXTURECRAFT_DATA_DIR is no longer a Nightly profile: the Launcher's literal pair is the only
  way in, and the variable stays Stable's own folder override.
- More than one file after -- opens the first one instead of exiting 2 with no console on
  Windows.
- The Flatpak and AppImage Nightly metainfo drop their <mediatype> lines, like the deb/rpm.
- The plain Nightly tar ships the Nightly master icon, not Stable's.

Tests: packaging/nightly-checks.sh (60 tests, the icon check, both launcher suites, bash -n),
apprun-test.sh, rustfmt --check, and stubbed package.sh/flatpak-bundle.sh runs for Stable and
Nightly that show no CLI in any Nightly format, no <mediatype> in its metainfo, and no Nightly
PNG in a Stable package.
2026-11-24 23:48:32 +01:00
..
2026-11-04 12:29:02 -05:00