Repository navigation
package: an AppImage of the Linux release - #249
Open
gamboozino wants to merge 1 commit into
Open
gamboozino wants to merge 1 commit into
gamboozino wants to merge 1 commit into
Conversation
The Linux tarball as one executable file, made in the publish job from the tarball package-linux built (tools/package_appimage.sh): its files under bbhost/ in an AppDir with an AppRun, a .desktop file and the icon, packed by mksquashfs behind AppImage's type-2 runtime, release 20251108, pinned by SHA-256. The runtime's licences (MIT, and libfuse's LGPL-2.1, linked into it) ship in the image from third_party/appimage-runtime. bbhost writes nothing beside its executable, so it runs from the read-only mount as it is; AppRun keeps the logs and F12's dumps in ~/.local/share/bbhost/logs. check_release_bundle.sh extracts the image and checks its files as a Linux bundle's, and its runtime's licences. Checked: built in ubuntu:24.04 from the v0.2.34 tarball (53 MB); the game plays from it on KDE Plasma Wayland with an RX 9070 XT; the bundle check passes on it and fails one without libdxcompiler.so.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Linux tarball as one executable file, for players who would rather not keep a folder:
bbhost-linux-<version>-x86_64.AppImage, made in the publish job from the tarballpackage-linuxalready built, so it carries the same files.Why
The tarball stays as it is; this is a second way to get the same files.
~/.local/share/bbhostalready, so nothing carries over by hand..desktopentry, which the tarball doesn't have.--setup,--no-setup,--config), as withrun-bbhost.sh.What's in it
tools/package_appimage.sh TARBALL OUTDIRunpacks the tarball underbbhost/in an AppDir and adds an AppRun, a.desktopfile and the icon (res/bbhost.ico's 256 px image). It packs that with mksquashfs (zstd) behind AppImage's type-2 runtime, release 20251108, pinned by SHA-256 like DXC and the NGX files. That's what appimagetool does, without needing FUSE on the runner. The runtime is static with its own FUSE 3, so players need no libfuse2.licenses/appimage-runtime: its own (MIT) and libfuse's (LGPL-2.1, linked into it), with a notice naming the other libraries in it and where their source is (third_party/appimage-runtime)..oldremoval and the plugin.newrenames fail quietly there, and "Get the official plugins" writes to the per-user folder. AppRun stands in forrun-bbhost.sh: it keeps each session's log, the newest ten, and F12's dumps (throughBBHOST_CAPTURE_DIR) in~/.local/share/bbhost/logs, and passes its arguments to bbhost.tools/check_release_bundle.shextracts the AppImage and checks its files as a Linux bundle (DXC, LICENSE-EXCEPTION, the pipeline list, DLSS and FSR 3), plus the runtime's licences.release.yml: the publish job builds it (installing squashfs-tools when the runner lacks it), uploads it as theappimageartifact, and adds it to the release and SHA256SUMS. The PR comment names it. About a minute and 53 MB per run.tools/announce_release.pylinks it in the Discord post. README,docs/building.mdanddocs/running.mdmention it.Checked
/proc/self/exeinside the mount. Settings and saves go to~/.local/share/bbhost, and logs to itslogs/, pruned to ten, with a home path containing spaces too.check_release_bundle.shpasses on the release's tarball plus this AppImage, and fails an AppImage withlibdxcompiler.sotaken out ("no libdxcompiler.so beside the executable").appimageartifact is there to try.