Commit graph

72 commits

Author SHA1 Message Date
Johannes Millan
d8c5dd5c8d fix(build): prevent RPM build-id collisions with other Electron apps
Fixes #5368
2026-01-12 10:23:59 +01:00
Johannes Millan
3d33d94a6c fix(snap): isolate fontconfig cache to fix GTK dialog rendering
Set FC_CACHEDIR to a Snap-specific directory to prevent ABI mismatches
with the host system's fontconfig cache. This fixes unreadable text
(tofu boxes) in GTK dialogs on Ubuntu Snap builds.

Fixes #4920
2026-01-11 11:44:44 +01:00
Johannes Millan
50de4c1fd7 fix(build): remove deprecated win32metadata from electron-builder config
The win32metadata property is no longer valid in electron-builder 26.x.
Windows executable metadata is now automatically derived from productName.
2025-12-22 19:30:34 +01:00
Johannes Millan
fff8596d50 fix(build): ensure consistent Windows EXE metadata for installer and portable
Add explicit win32metadata configuration to electron-builder.yaml to ensure
FileDescription and InternalName are identical between NSIS installer and
portable builds.

Fixes #4625
2025-12-22 14:21:00 +01:00
Johannes Millan
cc7ef3db8f build: attempt to make idle handling work better for flatpak 2025-10-15 11:01:21 +02:00
Johannes Millan
6486b41bd9 build: revert all changes and go back to old electron version #5252 #5260 2025-10-13 19:46:16 +02:00
Johannes Millan
c7ef0ff405 build: next attempt 3 #5252 2025-10-13 18:51:08 +02:00
Johannes Millan
7fd8f57d3e build: next attempt 2 #5252 2025-10-13 17:12:24 +02:00
Johannes Millan
f00f2a18c9 build: fix mac build? :( 2025-10-13 17:01:39 +02:00
Johannes Millan
0e6ab6ed60 build: fix ? :( 2025-10-13 16:34:43 +02:00
Johannes Millan
c14178bc86 build: fix mac? 2025-10-13 16:13:20 +02:00
Johannes Millan
22e3b68497 build: make mac build work again?? #5252 2025-10-13 15:46:42 +02:00
Johannes Millan
336a6e0537 build: attempt to fix snap again 22 #5252 2025-10-13 15:07:26 +02:00
Johannes Millan
8fb0e5e031 build: attempt to fix snap again #5252 2025-10-13 14:52:42 +02:00
Johannes Millan
21746d973b build: fix mac build 2025-10-13 14:33:32 +02:00
Johannes Millan
295f00628c build: attempt to fix build errors for snap and flathub #5252 #5259 #5260 2025-10-13 12:26:48 +02:00
Johannes Millan
422526557b build: attempt to fix build errors for snap and flathub #5252 #5258 2025-10-13 12:06:11 +02:00
Johannes Millan
d8e5233a06 build: attempt to make flatpak wayland work #5252 2025-10-13 11:39:22 +02:00
Johannes Millan
dbb6019527 build: attempt to fix snap once more 14 #5252 2025-10-12 17:21:13 +02:00
Johannes Millan
e412a33ef3 build: attempt to fix snap once more 12 #5252 C 2025-10-12 16:49:59 +02:00
Johannes Millan
f837a71648 build: attempt to fix snap once more 6 #5252 2025-10-12 14:06:05 +02:00
Johannes Millan
b48b0b2169 fix: attempt to fix snap once more 4 #5252 2025-10-12 13:31:46 +02:00
Johannes Millan
dfdbdc9b53 fix: attempt to fix snap once more 3 #5252 2025-10-12 11:39:09 +02:00
Johannes Millan
53eaaddea9 fix: attempt to fix snap once more 2 #5252 2025-10-12 11:34:30 +02:00
Johannes Millan
ac8ebf93cf fix: attempt to fix snap once more #5252 2025-10-12 11:21:40 +02:00
Johannes Millan
b429492e9c build: re-add electron builder stuff 2025-06-27 12:12:13 +02:00
Johannes Millan
75f1b64105 build: update configuration files
Update various configuration files as part of the build system reorganization.
2025-06-27 10:25:00 +02:00
Johannes Millan
6746a7f2bb fix: remove duplicate snap plugs causing build failure
The snap build was failing because plugs were duplicated - the 'default' plug already includes desktop, desktop-legacy, home, x11, wayland, unity7, browser-support, and network. This commit removes the duplicates, keeping only the additional plugs not included in default.
2025-06-21 21:07:16 +02:00
Johannes Millan
fc343b801b fix: idle detection errors and system freezes after hibernation
- Test idle detection methods only once during initialization to prevent repeated failures
- Add snap environment detection with automatic method filtering
- Add proper snap plugs for system-observe and login-session-observe interfaces
- Improve DBus handling by trying gdbus first (works better in snap environments)
- Add rate-limited error logging to prevent log spam
- Add snap install hook to guide users on connecting required interfaces
- Ensure graceful fallback to 0 (not idle) when detection fails

This prevents the system freezes that occurred after hibernation due to repeated
failing idle detection attempts, and improves snap compatibility for DBus access.
2025-06-21 08:43:24 +02:00
Ari Pollak
19c6deb0e2 Update Linux categories in electron-builder.yaml 2024-12-08 17:10:47 +01:00
Johannes Millan
3e4415cbc8 build: fix artifact name 2 2024-10-20 17:47:40 +02:00
Johannes Millan
2f9f3a6722 build: fix artifact name 2024-10-20 16:05:06 +02:00
Johannes Millan
2d73b12fc6 build: adjust binary file names to allow dynamic download link 2024-10-20 14:04:49 +02:00
johannesjo
36d6442fcf build: enable other build types again 2024-09-22 21:40:47 +02:00
johannesjo
9ac6badb8d build: try changing env variables 2024-09-22 21:20:16 +02:00
johannesjo
ba42e2e7ef build: add notarize to dmg specifically 2024-09-22 18:51:48 +02:00
johannesjo
dd93bbf1d7 build: test build target to universal for mas build 2024-09-22 18:29:29 +02:00
johannesjo
5b6e8a74f7 build: remove desktop file section from build as it causes issues 2024-06-13 10:37:23 +02:00
johannesjo
9a3de9282f fix: mac icon #3213 2024-06-13 09:50:28 +02:00
johannesjo
861812abd1 build: enable code signing again (unclear, why it wasn't enabled before) 2024-06-09 17:17:14 +02:00
johannesjo
83d7d4418d build: add additional cfg for electron mac 2024-06-07 17:01:08 +02:00
Johannes Millan
84f77343ea build: update electron builder settings 2024-06-07 14:10:22 +02:00
Johannes Millan
1e36b9ddb3 build: try notarize true instead of electron-builder-notarize 2024-04-10 19:21:57 +02:00
Johannes Millan
3e1fefcfdd build: enable universal build for dmg 2024-02-26 14:09:51 +01:00
Johannes Millan
a74b801a0f fix: linux category #2635 2023-06-02 14:28:46 +02:00
Zhiyuan Zheng
5834c19f7c Update electron-builder.yaml 2023-01-30 13:19:31 +01:00
Zhiyuan Zheng
6c6567e81e Suppoprt Win32/ARM64 packages 2023-01-30 13:19:31 +01:00
Ari Pollak
eaff7883cf Allow native wayland in snap distribution 2022-07-04 15:51:19 -04:00
Johannes Millan
61742416f4 build: try building for mac arm #1516 2021-09-17 10:05:30 +02:00
Johannes Millan
942771f673 build: enable rpm again 2021-05-16 23:03:04 +02:00