File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -75,17 +75,6 @@ const appOutDirs = new Map()
7575const isNotarize = parseEnvValToBool ( process . env . NOTARIZE )
7676const 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
9079const 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
You can’t perform that action at this time.
0 commit comments