From 44b4737a20cb56fcd2d9e67ef3a9ed7b49cd4793 Mon Sep 17 00:00:00 2001 From: avi Date: Mon, 5 Oct 2026 10:42:41 -0500 Subject: [PATCH] fix(build): emit linux x86_64 tar.gz on every package run The in-app updater installs the release asset matched by pickAsset (tar.gz + linux + x86_64/amd64); the config only built AppImage+deb, so plain 'npm run package' produced no updatable asset and required a second electron-builder invocation plus a manual rename (as done for 0.1.13). --- electron-builder.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/electron-builder.yml b/electron-builder.yml index d8f3b67..4abacd6 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -21,6 +21,11 @@ linux: target: - AppImage - deb + # tar.gz is what the in-app updater installs (pickAsset looks for a + # linux x86_64/amd64 tarball); arch must be x64 so the asset name ends + # in -linux-x86_64 like every published release. + - target: tar.gz + arch: x64 # OS file associations: double-click / "Open with Folio" on Markdown and # plain-text files imports them as books (see folio:openPathOrImport and