Skip to content

Commit

Permalink
electron-builder: Disable .zip build target on macOS
Browse files Browse the repository at this point in the history
The macOS .zip build target for electron-builder is very computationally
intensive (seemingly due to heavy use of 7-zip?) and timing out for us
in CI. So... disable the .zip build target on macOS entirely.

Note: The .dmg and .zip targets are the default targets enabled by
electron-builder on macOS. (See: https://www.electron.build/cli#target)
So, by explicitly specifying only the .dmg target,
we can effectively disable the .zip target.
  • Loading branch information
DeeDeeG committed Dec 30, 2024
1 parent a5fccfc commit 9e94520
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/electron-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ let options = {
{ "CFBundleURLName": "Atom Shared Session Protocol" }
]
},
"target": [
{ "target": "dmg" }
],
},
"dmg": {
"sign": false,
Expand Down

0 comments on commit 9e94520

Please sign in to comment.