| author | |
| committer | |
| log | 9b2c03ee25321c16928eda74f4036f36f0b1afce |
| tree | 21faa7239c283ef710ab3c9aefdfae3c1bc25fdd |
| parent | 8c61e254fd07249b8c420c44d62e8ecd72a78a20 |
| signature | Signed by PGP key B5690EEEBB952194 |
Co-authored-by: Julius Marminge <julius0216@outlook.com>2 files changed, 7 insertions(+), 0 deletions(-)
scripts/build-desktop-artifact.test.ts+3| ... | ... | @@ -684,6 +684,9 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => { |
| 684 | 684 | assert.deepStrictEqual((linux.linux as Record<string, unknown>).protocols, [ |
| 685 | 685 | { name: "T3 Code", schemes: ["t3code", "t3code-dev"] }, |
| 686 | 686 | ]); |
| 687 | assert.deepStrictEqual(linux.toolsets, { appimage: "1.0.3" }); | |
| 688 | assert.notProperty(mac, "toolsets"); | |
| 689 | assert.notProperty(win, "toolsets"); | |
| 687 | 690 | assert.deepStrictEqual(mac.files, [...DESKTOP_FILE_EXCLUSIONS, ...MAC_FILE_EXCLUSIONS]); |
| 688 | 691 | assert.deepStrictEqual(linux.files, [...DESKTOP_FILE_EXCLUSIONS, ...LINUX_FILE_EXCLUSIONS]); |
| 689 | 692 | assert.deepStrictEqual(win.files, DESKTOP_FILE_EXCLUSIONS); |
scripts/build-desktop-artifact.ts+4| ... | ... | @@ -2762,6 +2762,10 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* ( |
| 2762 | 2762 | } |
| 2763 | 2763 | |
| 2764 | 2764 | if (platform === "linux") { |
| 2765 | // electron-builder 26 defaults to its legacy AppImage runtime, which | |
| 2766 | // dynamically loads the system libfuse2 library. Pin the static runtime so | |
| 2767 | // the AppImage also launches on distributions that only provide FUSE 3. | |
| 2768 | buildConfig.toolsets = { appimage: "1.0.3" }; | |
| 2765 | 2769 | buildConfig.linux = { |
| 2766 | 2770 | // The .deb is built from the same unpacked app after the AppImage. |
| 2767 | 2771 | // electron-builder lists both in latest-linux.yml and writes |