mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-03 15:31:21 -05:00
fb6c02145f
The review of this branch found two hosted checks that would fail, two
clippy denials and five real defects in the Linux fixup. Each is fixed
here, and the flat feed tarball now uses the kit's standard layout.
- actions.lock: regenerated with gh actions-lock v0.4.1 so nightly-macos.yml
is pinned; `gh actions-lock --verify` reports all 12 workflows valid.
- shellcheck: the macOS identity check uses `if ! { ...; }` instead of
`A && B || C`, and the launcher test disables SC2016 for the literal
`$(dirname "$0")`, as package.sh already does.
- build.rs: `FIGCRAFT_REQUIRE_WINRES=1` reports a failed resource compile on
stderr and exits 1 instead of panicking (the workspace denies clippy::panic).
- profile_root.rs: compare FLATPAK_ID with the &str constant (clippy::cmp_owned).
- AppImage: AppRun runs the staged launcher again; the copy that needed the
runtime's $APPDIR is gone, so an extracted AppDir works too.
- Metainfo: the shared stage keeps the stable id/launchable/icon and the deb,
the AppImage and the Flatpak each rename them to the id they install, so the
Flatpak bundle no longer points at a desktop entry and icon it does not ship.
- main.rs: a nightly decodes the `file://` URLs the launcher passes after `--`,
so "Open with" and a drop open the file again; the session record is finished
before the graphics handoff, which on Unix execs the restarted window.
- Launcher: no FIGCRAFT_NIGHTLY_PROFILE override (it let a caller point the
nightly at stable's config folder), a supplied --launch-profile/--profile-root
passes through untouched, and a caller-written `--` is not doubled.
- The flat feed tarball follows the standard layout: `figcraft` is the launcher
and `figcraft-bin` the GUI, with nightly-archive.py's sets and the launcher
test updated; the shared entrypoint contract has to name figcraft-bin.
- share/mime is never installed for a nightly, and the Flatpak's --test asks
its version through the launcher and no longer looks for share/mime.
- sign.ps1 keeps FigCraft's own Trusted Signing pin block and download URL;
only the nightly switches (-Required, -CheckOnly, -CheckBuildEnvironment,
the Authenticode assert) remain on top of Dylan's file.
No cargo compile was possible (load1 stayed above the gate), so hosted CI is
the first compile.