Commit 23b46ff
Yogesh Prajapati
feat(build): add macOS + Linux builds via 3-OS CI matrix
Previously Windows-only. Now electron-builder produces native artifacts
for all three platforms on every tagged release:
Windows : .exe (NSIS installer) — windows-latest
macOS : .dmg + .zip (x64 + arm64) — macos-latest, unsigned
Linux : .AppImage + .deb (x64) — ubuntu-latest
Release workflow restructured as a fail-fast: false matrix so a
platform-specific failure doesn't block the others. Each runner builds
+ publishes its own artifacts via electron-builder --publish always,
which also uploads the per-OS auto-update manifests (latest.yml,
latest-mac.yml, latest-linux.yml) the updater needs. The release job
then finalises the GitHub release with the auto-generated changelog
across all three artifact sets.
Renderer fixes for cross-platform compatibility:
- encryptionProfilePath: use forward slash (works on every OS) instead
of the hardcoded Windows backslash
- legacy-whiteboard regex now matches both [\/]
- terminal preference default switched from hardcoded 'powershell.exe'
to a defaultShellForPlatform() that picks zsh on macOS, bash on Linux
- F5 Run File uses `&&` on macOS/Linux (bash/zsh) and `;` on Windows
(PowerShell) so the shell chain operator doesn't trip a parse error
Caveats documented in CLAUDE.md:
- macOS builds are unsigned; first launch requires right-click → Open.
- Icons still use the .ico for all platforms (mac/linux get an auto-
converted lower-quality version); future work to add .icns + 512.png.
- Linux AppImage needs libfuse2 (CI installs it; end-users on Ubuntu
24.04+ may need libfuse2t64).1 parent f739f73 commit 23b46ff
4 files changed
Lines changed: 158 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
24 | 47 | | |
25 | 48 | | |
26 | 49 | | |
| |||
34 | 57 | | |
35 | 58 | | |
36 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
37 | 65 | | |
38 | 66 | | |
39 | 67 | | |
40 | | - | |
41 | | - | |
| 68 | + | |
| 69 | + | |
42 | 70 | | |
43 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
44 | 75 | | |
45 | | - | |
| 76 | + | |
46 | 77 | | |
47 | 78 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
53 | 82 | | |
54 | 83 | | |
55 | 84 | | |
| |||
58 | 87 | | |
59 | 88 | | |
60 | 89 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
65 | 94 | | |
66 | 95 | | |
67 | 96 | | |
68 | 97 | | |
69 | 98 | | |
70 | 99 | | |
71 | 100 | | |
72 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
73 | 116 | | |
74 | 117 | | |
75 | | - | |
| 118 | + | |
76 | 119 | | |
| 120 | + | |
77 | 121 | | |
78 | 122 | | |
79 | 123 | | |
| |||
86 | 130 | | |
87 | 131 | | |
88 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
89 | 137 | | |
| 138 | + | |
| 139 | + | |
90 | 140 | | |
91 | 141 | | |
92 | 142 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
267 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
268 | 276 | | |
269 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
270 | 284 | | |
271 | 285 | | |
272 | 286 | | |
273 | 287 | | |
274 | | - | |
275 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
276 | 297 | | |
277 | 298 | | |
278 | 299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
342 | 374 | | |
343 | 375 | | |
344 | 376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1140 | 1142 | | |
1141 | | - | |
| 1143 | + | |
1142 | 1144 | | |
1143 | 1145 | | |
1144 | 1146 | | |
| |||
1983 | 1985 | | |
1984 | 1986 | | |
1985 | 1987 | | |
1986 | | - | |
1987 | | - | |
1988 | | - | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
1989 | 1994 | | |
1990 | 1995 | | |
1991 | 1996 | | |
| |||
4671 | 4676 | | |
4672 | 4677 | | |
4673 | 4678 | | |
| 4679 | + | |
| 4680 | + | |
| 4681 | + | |
| 4682 | + | |
| 4683 | + | |
| 4684 | + | |
| 4685 | + | |
| 4686 | + | |
| 4687 | + | |
| 4688 | + | |
| 4689 | + | |
4674 | 4690 | | |
4675 | 4691 | | |
4676 | 4692 | | |
4677 | 4693 | | |
4678 | 4694 | | |
4679 | | - | |
| 4695 | + | |
4680 | 4696 | | |
4681 | 4697 | | |
4682 | 4698 | | |
4683 | 4699 | | |
4684 | 4700 | | |
4685 | | - | |
| 4701 | + | |
4686 | 4702 | | |
4687 | 4703 | | |
4688 | 4704 | | |
| |||
5330 | 5346 | | |
5331 | 5347 | | |
5332 | 5348 | | |
5333 | | - | |
| 5349 | + | |
| 5350 | + | |
| 5351 | + | |
5334 | 5352 | | |
5335 | 5353 | | |
5336 | 5354 | | |
| |||
0 commit comments