59 Commits

Author SHA1 Message Date
Elian Doran
2d3a1e9023
fix(build): flaky copy of the artifact 2025-03-30 17:43:34 +03:00
Elian Doran
fb800eb96b
fix(forge): slashes in ref name breaking copying 2025-03-30 16:44:46 +03:00
Panagiotis Papadopoulos
9fe37465c7 build(electron-forge): use double quotes for the buildPath in afterPrune
attempt to fix failing Windows build in CI, which uses cmd shell, which apparently treats single apostrophes differently
2025-03-27 09:35:48 +01:00
Panagiotis Papadopoulos
75431ca634 build: make running of npm ci in build scripts configurable
* moved the running of npm ci from copy-dist to cleanupNodeModules
* added flag to disable it (necessary for electron-forge)
2025-03-27 00:00:41 +01:00
Panagiotis Papadopoulos
1ceaafa1e8 build: move cleanupNodeModules to its own file
this is necessary, since for Docker and electron-forge, we need to run this as an extra step after copy-dist

for electron-forge: after it is done with its own "pruning", as we otherwise would need to also take care of certain electron related pruning

for Docker: as a last step in the build stage
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
8feb201d3d build(electron-forge): set prune to false
since we our own more "sophisticated" pruning during copy-dist, we need to set this to false, as otherwise build will fail
2025-03-26 08:12:48 +01:00
Elian Doran
a7d6bf1bd8
feat(forge): match name for artifacts 2025-03-24 19:10:29 +02:00
Elian Doran
4108f7f353
chore(forge): ignore certain artifacts 2025-03-24 19:04:38 +02:00
Elian Doran
6f26f4d798
fix(forge): allow local building by ignoring the signing options 2025-03-24 17:53:04 +02:00
Elian Doran
9aaada3f6e
refactor(forge): deduplicate windows signing configuration 2025-03-24 17:04:22 +02:00
Elian Doran
d5a8387c06
Revert "chore(ci): try to use basic sign tool config"
This reverts commit 53860c488557eaf1c0503dbcf03ae74f025410f3.
2025-03-24 12:41:38 +02:00
Elian Doran
53860c4885
chore(ci): try to use basic sign tool config 2025-03-24 12:15:15 +02:00
Elian Doran
58e9c7e389
feat(ci): pass signing to squirrel 2025-03-24 11:21:31 +02:00
Elian Doran
bfdb3e2add
fix(ci): double trigger for nightly 2025-03-24 09:25:19 +02:00
Elian Doran
ad8b5c7c9d
fix(ci): path for hook module script 2025-03-24 08:59:46 +02:00
Elian Doran
40f4fdab47
feat(ci): set up signing hook 2025-03-23 23:22:22 +02:00
Elian Doran
5d2ea4337c
fix(ci): use right directory for artifact gathering 2025-03-23 23:08:02 +02:00
Elian Doran
fae9a1f796
chore(ci): use electron-forge hook for gathering artifacts 2025-03-23 23:06:41 +02:00
Elian Doran
e9a0c68a28
Merge branch 'develop' into build_improve-electron-forge_v3 2025-03-15 17:00:53 +02:00
Elian Doran
103b29d3de
Revert "fix(flatpak): try setting different bin to avoid sandbox issue"
This reverts commit a778ec617f2aa00cf763a0c5ca0387743bc5f6f0.
2025-03-15 13:44:30 +02:00
Panagiotis Papadopoulos
3b8c645cca Merge branch 'develop' into build_improve-electron-forge_v3 2025-03-15 12:09:52 +01:00
Elian Doran
a778ec617f
fix(flatpak): try setting different bin to avoid sandbox issue 2025-03-15 13:01:28 +02:00
Panagiotis Papadopoulos
cc0931b402 build(electron-forge): set outDir to ./dist, to have the same behaviour as the Server builds
since we run electron-forge inside the ./build folder, we need to go up a directory (using ../dist), to have it output to ./dist
2025-03-13 08:09:53 +01:00
Panagiotis Papadopoulos
11772860b6 build(electron-forge): stop copying unused .anonymize-database.sql as ressource 2025-03-13 07:59:12 +01:00
Panagiotis Papadopoulos
02a00000fb build(electron-forge): stop packing dump-db folder
see https://github.com/TriliumNext/Notes/issues/1115
2025-03-10 18:11:56 +01:00
perf3ct
36ce2a3342
add back prettier-ignore comment for pano 2025-02-24 16:12:53 +00:00
perf3ct
e9d4356492
Now we'll try the name with a space in it? 2025-02-24 00:44:50 +00:00
perf3ct
226cf8dfd7
Set up Signing and Notarizing for MacOS 2025-02-23 23:36:30 +00:00
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