4.1 KiB
Releasing
The version lives only in [workspace.package] version in the root Cargo.toml
(cargo xtask version, cargo xtask version set X.Y.Z[-pre]). Pushing to the release branch runs
.github/workflows/release.yml, which builds every platform and creates the draft GitHub Release
ArtCraft Launcher v with SHA256SUMS.txt.
Release asset names are fixed; the launcher's own self-update and the README rely on them:
| Platform | Files |
|---|---|
| Windows | artcraft-launcher-<ver>-windows-{x64,x86,arm64}.msi, …-windows-{x64,x86,arm64}-portable.zip |
| macOS | artcraft-launcher-<ver>-macos-universal.dmg |
| Linux | artcraft-launcher-<ver>-linux-{x86_64,aarch64}.{AppImage,AppImage.zsync,deb,rpm,tar.gz,flatpak}, artcraft-launcher-<ver>-linux-riscv64.{deb,rpm,tar.gz} |
| FreeBSD | artcraft-launcher-<ver>-freebsd-x86_64.tar.gz |
| Web | artcraft-launcher-web-<ver>.zip |
Packaging facts the code relies on:
- The Windows MSI is per-user (no UAC prompt), by default into
%LOCALAPPDATA%\Programs\ArtCraft Launcher. Double-clicked it opens a WixUI setup wizard (Welcome; a folder page with a "Create a desktop shortcut" box; Ready; progress; Finish with "Launch"), whose artpackage.ps1draws at build time; self-update runs it with/passive, no wizard. The folder and the shortcut choice are recorded underHKCU\Software\Learning Machines LLC\ArtCraft Launcher(InstallDir,DesktopShortcutChoice) and reused by the next version, andself_update.rsreadsInstallDirto know the running copy came from the MSI. Its shortcuts set AppUserModelIDai.storyteller.artcraft-launcher, which toast notifications need.portable.txtbeside the exe switches on portable mode (ArtCraftLauncherData\next to the exe). - The macOS bundle is
ArtCraft Launcher.app(executableContents/MacOS/ArtCraft Launcher), a normal Dock app that can also sit in the menu bar;LSUIElementis not set. - Linux: the tray uses StatusNotifierItem over D-Bus and notifications use
org.freedesktop.Notifications, both in pure Rust (no GTK, appindicator or libdbus). - Inside the Flatpak launcher (
process::in_sandbox()), apps normally install as host Flatpaks and run throughflatpak-spawn --host. When the host has no usable Flatpak — none installed, orflatpak-spawnnot allowed —linux::order_available_kindsoffers the release tarball instead: it is unpacked into<data>/apps/<app>(bin/,share/) and run withHOME=<data>/apps/<app>/home, so a Craft App's settings stay in the sandbox. An update swapsbin/andshare/and keepshome/; removing the app takes those two folders only. Outside a sandbox the tarball is not on offer at all. --socket=pulseaudioin the launcher manifests is for an app running inside the sandbox (SoundCraft's ALSA reaches the runtime's PulseAudio plugin through it); it also covers the microphone, which SoundCraft records through.build.rsreadsARTCRAFT_LAUNCHER_BUILD_SHA/ARTCRAFT_LAUNCHER_BUILD_DATEand, on Windows, embedsassets/app-icon/artcraft-launcher.ico, failing the build whenARTCRAFT_LAUNCHER_REQUIRE_WINRES=1and it can't.
Signed catalog at build and runtime
For an offline or reproducible build, set ARTCRAFT_CATALOG_DIR to a pinned snapshot containing
launcher-catalog.toml, its detached .sig, and the launcher-app-icons/<id>-<sha256>.png
files. The build verifies the signature and icon digests. The default network build uses a
verified cache under the Cargo target directory (or ARTCRAFT_CATALOG_CACHE_DIR).
Windows packaging consumes the verified icons emitted by that exact build, without a second
network fetch. With -SkipBuild, pass -CatalogOutputDir if multiple core build outputs exist.
The signed release catalog supplies stable release and Nightly discovery information. Automated Nightly installation/update checks intentionally still use the GitHub Nightly verifier, which validates the platform-specific descriptor and checksums and retains the existing scheduling and rollback protections. A signed discovery entry alone is not permission to install a Nightly.