31 Commits

Author SHA1 Message Date
Elian Doran
c68cc70f76
chore(build): change flatpak ID 2025-02-07 18:17:06 +02:00
Elian Doran
97b7033959
Merge pull request #1130 from TriliumNext/build_add-flatpak-electron
build: add flatpak build via electron-forge
2025-02-07 18:13:34 +02:00
Panagiotis Papadopoulos
8cf6a4bec7 build(electron): Add "Office" as category for Desktop file
as per https://specifications.freedesktop.org/menu-spec/latest/category-registry.html

checked with other NoteTaking apps and they all (e.g. Obsidian, Joplin) use "Office" as main category as well, which makes sense here
2025-02-07 08:57:20 +01:00
Panagiotis Papadopoulos
47e2100920 build(electron): use baseLinuxMakerConfigOptions for flatpak as well 2025-02-07 08:52:55 +01:00
Panagiotis Papadopoulos
1a89a0989d build(electron): update flatpak config to latest base
previously it was defaulting to an EOL version of the Platform/SDK

Explicitly setting it to 24.08 however makes the build fail, because it defaults to using an outdated "zypak" module, so we need to explicitly mention the latest version here too
2025-02-06 23:34:36 +01:00
Panagiotis Papadopoulos
7753905df9 build(electron): add flatpak config 2025-02-06 23:34:36 +01:00
Panagiotis Papadopoulos
62099abb29 refactor(forge.config): simplify getExtraResourcesForPlatform 2025-02-05 09:56:08 +01:00
Panagiotis Papadopoulos
2b83470de6 refactor(forge.config): call getExtraResourcesForPlatform once only 2025-02-05 09:33:33 +01:00
Panagiotis Papadopoulos
e0862ce8f3 refactor(forge.config): avoid duplication for linux makers
adds a baseLinuxMakersConfigOptions
2025-02-05 09:30:55 +01:00
Panagiotis Papadopoulos
0c1185df33 refactor(forge.config): make afterComplete more concise 2025-02-05 08:53:06 +01:00
Panagiotis Papadopoulos
1cd49130dd build(electron): add rpm config 2025-02-03 09:40:33 +01:00
Elian Doran
2baf75d0c1
feat(electron): custom icon for the windows installer 2025-02-01 14:39:36 +02:00
Elian Doran
4cbb529fd4
chore(prettier): fix all files 2025-01-09 18:07:02 +02:00
Elian Doran
e72eb5f27c
electron: Fix asset path on forge build 2024-11-02 11:49:33 +02:00
Elian Doran
88cd2ac25c
build: Fix duplication 2024-10-26 01:00:44 +03:00
Elian Doran
e3e6f56a88
build: Add icon.png for Linux builds (fixes #507) 2024-10-26 00:58:02 +03:00
Elian Doran
0768a2a0a3
build: Add StartupWMClass to deb build 2024-10-26 00:42:44 +03:00
Elian Doran
849a6a3aef
electron: Solve server translation loading on macOS 2024-10-13 14:24:46 +03:00
Elian Doran
1277dfc5d5
electron: Add back server translations 2024-10-13 12:31:37 +03:00
Elian Doran
a5fd57308a
server: Fix translations in standalone build 2024-10-13 12:09:36 +03:00
Elian Doran
8ae5f9ea9b
electron: Fix translations in packaged builds 2024-10-12 19:40:54 +03:00
Elian Doran
94340ab1a1
build: Fix app name in Electron Forge hook 2024-08-11 06:57:34 +03:00
Elian Doran
3028b20a7f
build: Change name of application for Electron Forge 2024-08-11 06:09:28 +03:00
Elian Doran
8cc583e714
build: Fix extra resources for macos 2024-08-10 12:23:26 +03:00
Jin
8932028a75 minor fix 2024-08-09 22:30:21 +02:00
Jin
62e483a21a using esrun for webpack and fix package arch problem 2024-08-09 22:23:54 +02:00
Jin
42e3f126e4 add arm64 for linux 2024-08-05 20:46:32 +02:00
Jin
39c0250833 fix server package 2024-08-05 20:20:35 +02:00
Jin
e5e92c8ece add electron-forge for all platforms 2024-08-05 18:47:57 +02:00
Elian Doran
347f18058f build: Set up iconUrl for squirrel build 2024-07-28 21:51:48 +03:00
Elian Doran
e9e329c6dd build: Fix Windows installer build 2024-07-23 00:26:02 +03:00