Skip to content

Commit f9f23be

Browse files
authored
fix: Remove spctl check from Mac's notarization (#7361)
1 parent 1bd574b commit f9f23be

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.changeset/thin-bags-tap.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": major
3+
---
4+
5+
Remove spctl check from Mac notarization step

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import BluebirdPromise from "bluebird-lst"
2-
import { deepAssign, Arch, AsyncTaskManager, exec, InvalidConfigurationError, log, use, getArchSuffix, spawn } from "builder-util"
2+
import { deepAssign, Arch, AsyncTaskManager, exec, InvalidConfigurationError, log, use, getArchSuffix } from "builder-util"
33
import { signAsync } from "@electron/osx-sign"
44
import { SignOptions } from "@electron/osx-sign/dist/cjs/types"
55
import { mkdir, readdir } from "fs/promises"
@@ -488,8 +488,6 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
488488
}
489489
const options = this.generateOptions(appPath, appleId, appleIdPassword)
490490
await notarize(options)
491-
// Verify
492-
await spawn("spctl", ["-a", "-t", "open", "--context", "context:primary-signature", "-v", `"${appPath}"`])
493491
log.info(null, "notarization successful")
494492
}
495493

0 commit comments

Comments
 (0)