Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/build-desktop-artifact.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,9 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
assert.deepStrictEqual((linux.linux as Record<string, unknown>).protocols, [
{ name: "T3 Code", schemes: ["t3code", "t3code-dev"] },
]);
assert.deepStrictEqual(linux.toolsets, { appimage: "1.0.3" });
assert.notProperty(mac, "toolsets");
assert.notProperty(win, "toolsets");
assert.deepStrictEqual(mac.files, [...DESKTOP_FILE_EXCLUSIONS, ...MAC_FILE_EXCLUSIONS]);
assert.deepStrictEqual(linux.files, [...DESKTOP_FILE_EXCLUSIONS, ...LINUX_FILE_EXCLUSIONS]);
assert.deepStrictEqual(win.files, DESKTOP_FILE_EXCLUSIONS);
Expand Down
4 changes: 4 additions & 0 deletions scripts/build-desktop-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2762,6 +2762,10 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
}

if (platform === "linux") {
// electron-builder 26 defaults to its legacy AppImage runtime, which
// dynamically loads the system libfuse2 library. Pin the static runtime so
// the AppImage also launches on distributions that only provide FUSE 3.
buildConfig.toolsets = { appimage: "1.0.3" };
buildConfig.linux = {
// The .deb is built from the same unpacked app after the AppImage.
// electron-builder lists both in latest-linux.yml and writes
Expand Down
Loading