Skip to content

Commit 14b03f2

Browse files
authored
Merge pull request #570 from bitfinexcom/staging
Release version 4.39.0
2 parents 675d695 + 1df9e85 commit 14b03f2

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

electron-builder-config.js

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,6 @@ const appOutDirs = new Map()
7575
const isNotarize = parseEnvValToBool(process.env.NOTARIZE)
7676
const arch = process.env.ARCH ?? 'x64'
7777

78-
// Notarize can be done only on MacOS
79-
const macNotarize = (
80-
process.platform === 'darwin' &&
81-
isNotarize
82-
)
83-
? {
84-
notarize: {
85-
teamId: process.env.APPLE_TEAM_ID
86-
}
87-
}
88-
: {}
8978
// DMG can be built only on MacOS
9079
const macSpecificTargets = process.platform === 'darwin'
9180
? ['dmg', 'zip']
@@ -179,7 +168,10 @@ module.exports = {
179168
category: 'public.app-category.finance',
180169
minimumSystemVersion: '11',
181170
darkModeSupport: true,
182-
...macNotarize,
171+
notarize: !!(
172+
process.platform === 'darwin' &&
173+
isNotarize
174+
),
183175
target: [
184176
'dir',
185177
...macSpecificTargets

0 commit comments

Comments
 (0)