Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
ZIP package required for auto-update got accidentally removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
posidron committed Jul 17, 2019
1 parent 3093ddf commit 9665e0f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions configs/electron/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const userConfig = {
linux: {
synopsis: appInfo.description,
executableName: appInfo.name,
category: 'Security',
category: 'Security'
}
}

Expand All @@ -62,8 +62,12 @@ const main = async () => {
if (process.env.NODE_ENV === 'production') {
targetArgs = {
windows64: Platform.WINDOWS.createTarget(['nsis'], Arch.x64),
linux64: Platform.LINUX.createTarget([/*'snap' */ 'AppImage'], Arch.x64),
macos64: Platform.MAC.createTarget(['dmg' /* 'pkg' */], Arch.x64)
linux64: Platform.LINUX.createTarget([/* 'snap' */ 'AppImage'], Arch.x64),
/*
* MacOS needs zip for updating.
* Generating DMGs on MacOS Catalina is not possible currently due to abadonment of 32bit support.
*/
macos64: Platform.MAC.createTarget(['zip', 'dmg' /* 'pkg' */], Arch.x64)
}
} else {
targetArgs = {
Expand Down

0 comments on commit 9665e0f

Please sign in to comment.