Repository navigation
Setup AppImages unpack themselves on a PC without FUSE 2 - #179
Merged
Merged
Conversation
6 tasks done
A setup that comes as an AppImage (an Easy Install game's builder) was run as is, so on a PC without FUSE 2 (NixOS, containers) it stopped right away with "Cannot mount AppImage". It now unpacks itself to run, as a game's AppImage already does at Play.
KevinBonnoron
force-pushed
the
setup-appimage-no-fuse
branch
from
November 14, 2026 15:19
8a7edbb to
79daefd
Compare
KevinBonnoron
marked this pull request as ready for review
November 14, 2026 17:03
Closed
4 of 6 tasks
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.
What this changes
When a setup comes as an AppImage,
own_setup::spawn_withruns it as is. An example is xc2-recomp'sXC2-Setup-0.1.12-linux.AppImage, which Easy Install opens after the download. On a PC without FUSE 2 (NixOS, containers, some immutable distributions) the AppImage can't mount itself and stops right away:A game's AppImage already handles this at Play:
lib.rssetsAPPIMAGE_EXTRACT_AND_RUN=1whensysenv::has_fuse2()is false. Setups now get the same fallback. It is set afterclean_std, which removes the launcher's own AppImage variables.How you tested it
On NixOS (GNOME, Wayland), with the launcher running without FUSE 2:
Before: xc2-recomp's setup AppImage stopped with the FUSE error above.
After: it unpacked itself (
/tmp/appimage_extracted_…/installer/gui.py), built the game from my copy, and Play then started the native build.npm test: 532 tests pass. The 4 that fail (a_game_that_hands_off_keeps_counting_while_its_folder_runsand three inupdate_rollback_tests) fail the same way onmain(b0fffa4) on NixOS. They call/bin/sleepand/usr/bin/true, which NixOS doesn't have, and are unrelated to this change.node --test tests/*.test.cjs: one test fails, for the same reason and onmaintoo. It is "AppImage helper cleans staging while a successful replacement keeps running" inappimage-update.test.cjs, whose fixture runsexec /bin/sleep 30.Tried it in the launcher
Checklist
recomplauncher.json: the schema and docs are updated too (not applicable)