fix(installer): drop the libfuse2 dependency from the AppImage#13
Merged
Conversation
electron-builder defaults `toolsets.appimage` to "0.0.0", which selects its legacy AppImage runtime (see buildFuse2AppImage in AppImageTarget). That 2019 runtime dlopens libfuse.so.2 at startup, so the AppImage fails to launch on distros that ship only fuse3 -- Arch/CachyOS among them -- until the user manually installs a fuse2 compat package. Selecting toolset 1.0.2 uses AppImage type2-runtime 20251108, which statically links libfuse3 and talks to /dev/fuse directly, so it needs no FUSE library on the host at all. Runtime goes from 188KB (NEEDED: libdl, libpthread, libz, libc) to 944KB with zero NEEDED entries and no libfuse.so.2 references. Verified by mounting the built AppImage: it mounts and the staged resources/vds-bin payload is intact. Note: upstream marks toolset 1.0.2 as beta. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jul 12, 2026
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.
Problem
The AppImage fails to launch on distros that ship only
fuse3(Arch/CachyOS among them) until the user manually installs afuse2compat package.Root cause: electron-builder defaults
toolsets.appimageto"0.0.0", which selects its legacy AppImage runtime — the branch is literally namedbuildFuse2AppImageinAppImageTarget.js. That 2019 runtimedlopenslibfuse.so.2at startup.Fix
Toolset
1.0.2is AppImagetype2-runtime20251108, which statically links libfuse3 and talks to/dev/fusedirectly — so it needs no FUSE library on the host at all. This isn't vendoring anything new; electron-builder already ships this runtime, we were just opted out by default.Before → after
NEEDEDdepslibdl, libpthread, libz, libclibfuse.so.2refsVerification
--appimage-offset→944632(was188392), confirming the new runtime is embedded.readelf -don the runtime → noNEEDEDentries; zerolibfuse.so.2strings.--appimage-mount: mounts cleanly, andresources/vds-bin/{vdsd,vdsctl,udev rules,wireplumber conf}are all present at the expected paths — installer staging logic unaffected.npm run test:installerpasses.Notes
1.0.2as beta (configuration.d.ts). The runtime itself is the mature AppImage type2-runtime; flagging it for visibility.APPIMAGE_EXTRACT_AND_RUNfallback is needed — the runtime is self-contained now.🤖 Generated with Claude Code