From 87eae1cc2f85f034f1543840b20d56e89a23c0df Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Thu, 26 Oct 2023 02:29:26 +0800 Subject: [PATCH] fix(mac): don't notarize mas builds (#7838) --- .changeset/smooth-lies-thank.md | 5 +++++ packages/app-builder-lib/src/macPackager.ts | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/smooth-lies-thank.md diff --git a/.changeset/smooth-lies-thank.md b/.changeset/smooth-lies-thank.md new file mode 100644 index 00000000000..ca6a7ee86dc --- /dev/null +++ b/.changeset/smooth-lies-thank.md @@ -0,0 +1,5 @@ +--- +"app-builder-lib": patch +--- + +fix: don't notarize mas builds diff --git a/packages/app-builder-lib/src/macPackager.ts b/packages/app-builder-lib/src/macPackager.ts index b4faf406a7f..b2de04bb19e 100644 --- a/packages/app-builder-lib/src/macPackager.ts +++ b/packages/app-builder-lib/src/macPackager.ts @@ -331,7 +331,9 @@ export default class MacPackager extends PlatformPackager { await this.dispatchArtifactCreated(artifactPath, null, Arch.x64, this.computeSafeArtifactName(artifactName, "pkg", arch, true, this.platformSpecificBuildOptions.defaultArch)) } - await this.notarizeIfProvided(appPath) +if (!isMas) { + await this.notarizeIfProvided(appPath) +} return true }