Skip to content

Commit 4652416

Browse files
authored
fix(mac): use Identity hash instead of name if it exists (#7622)
1 parent 36782ca commit 4652416

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/great-seas-admire.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix(mac): use Identity `hash` instead of `name` if it exists

packages/app-builder-lib/src/macPackager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
297297
https://github.com/electron-userland/electron-builder/issues/5383
298298
*/
299299
},
300-
identity: identity ? identity.name : undefined,
300+
identity: identity ? identity.hash || identity.name : undefined,
301301
type,
302302
platform: isMas ? "mas" : "darwin",
303303
version: this.config.electronVersion || undefined,

0 commit comments

Comments
 (0)