Launcher: a Flatpak in each release #12

Manually merged
github merged 2 commits from gh-pr/12/head into gh-pr/12/base 2026-12-01 20:42:14 +00:00
Owner

@⁠Zetsukae on GitHub · 2026-12-01 13:31 UTC · original
Zetsukae:development → main · +289 −19 · 5 files · 2 commits · merged 2026-12-01 13:41 UTC

Summary

  • Release workflow: a flatpak job between the Windows installer and the AppImage builds Northstar-Launcher_X.Y.Z_x86_64.flatpak (launcher built on Ubuntu 22.04 + victory.exe, on GNOME 51's runtime, no SDK), attests it and attaches it with its .sha256. Jobs run Windows → Flatpak → AppImage.
  • Flatpak support in the launcher: Proton, wineserver and xdg-open run on the host through flatpak-spawn --host, with sandbox paths (/app, /run/host/usr) translated to the host's. Saves and shaders stay in ~/.local/share/victory, shared with the AppImage.
  • launcher/flatpak/build.sh and the desktop entry; README section.

Tested locally (Fedora 44)

  • Unit tests (7, one new for the path translation) and build pass.
  • Bundle (6.4 MB) installs; inside it the launcher sees Steam's Protons, and the host's Proton runs the bundled victory.exe --version → victory 0.1.0.
  • The launcher starts in the Flatpak and the game launches through Proton from it.

🤖 Generated with Claude Code

**@⁠Zetsukae** on GitHub · 2026-12-01 13:31 UTC · [original](https://github.com/Zetsukae/Northstar-AMD/pull/12) `Zetsukae:development` → `main` · +289 −19 · 5 files · 2 commits · merged 2026-12-01 13:41 UTC ## Summary - **Release workflow**: a `flatpak` job between the Windows installer and the AppImage builds `Northstar-Launcher_X.Y.Z_x86_64.flatpak` (launcher built on Ubuntu 22.04 + `victory.exe`, on GNOME 51's runtime, no SDK), attests it and attaches it with its `.sha256`. Jobs run Windows → Flatpak → AppImage. - **Flatpak support in the launcher**: Proton, `wineserver` and `xdg-open` run on the host through `flatpak-spawn --host`, with sandbox paths (`/app`, `/run/host/usr`) translated to the host's. Saves and shaders stay in `~/.local/share/victory`, shared with the AppImage. - `launcher/flatpak/build.sh` and the desktop entry; README section. ## Tested locally (Fedora 44) - Unit tests (7, one new for the path translation) and build pass. - Bundle (6.4 MB) installs; inside it the launcher sees Steam's Protons, and the host's Proton runs the bundled `victory.exe --version` → `victory 0.1.0`. - The launcher starts in the Flatpak and the game launches through Proton from it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The release workflow builds the launcher as a Flatpak between the Windows
installer and the AppImage: the launcher built on Ubuntu 22.04 and
victory.exe, on GNOME 51's runtime (its WebKitGTK 4.1), packaged without
the SDK by launcher/flatpak/build.sh, attested and attached with its
.sha256.

In the sandbox, Proton, its Python and Steam are the host's: Proton,
wineserver and xdg-open are run with flatpak-spawn --host, their program,
arguments, environment and folder carried over with the sandbox's paths
made the host's (/app at the app-path of /.flatpak-info, /run/host/usr as
/usr). The Flatpak sees the host's files, Flatpak Steam's folder and
Discord's socket; Northstar's saves and shaders are the same
~/.local/share/victory as the AppImage's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
.desktop is not among the asset policy's allowed file types, and the
repository check failed on launcher/flatpak/*.desktop; the entry is now
written by build.sh into the bundle.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:42:12 +00:00
github manually merged commit 8bd5deb6c2 into gh-pr/12/base 2026-12-01 20:42:14 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.