@@ -270,7 +270,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
270
270
}
271
271
272
272
const signOptions : any = {
273
- "identity-validation" : false ,
273
+ identityValidation : false ,
274
274
// https://github.com/electron-userland/electron-builder/issues/1699
275
275
// kext are signed by the chipset manufacturers. You need a special certificate (only available on request) from Apple to be able to sign kext.
276
276
ignore : ( file : string ) => {
@@ -294,7 +294,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
294
294
https://github.com/electron-userland/electron-builder/issues/5383
295
295
*/
296
296
} ,
297
- identity : identity ,
297
+ identity : identity ? identity . name : undefined ,
298
298
type,
299
299
platform : isMas ? "mas" : "darwin" ,
300
300
version : this . config . electronVersion ,
@@ -307,7 +307,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
307
307
// will fail on 10.14.5+ because a signed but unnotarized app is also rejected.
308
308
"gatekeeper-assess" : options . gatekeeperAssess === true ,
309
309
// https://github.com/electron-userland/electron-builder/issues/1480
310
- "strict-verify" : options . strictVerify ,
310
+ strictVerify : options . strictVerify ,
311
311
hardenedRuntime : isMas ? masOptions && masOptions . hardenedRuntime === true : options . hardenedRuntime !== false ,
312
312
}
313
313
0 commit comments