From 45e876788afe7cb400c7552c339531fa3ca69a9e Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Fri, 20 Oct 2023 15:58:40 +0800 Subject: [PATCH] try different workaround --- .../app-builder-lib-npm-24.8.0-51e1f5cd3f.patch | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch b/.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch index 2142d6ec..bf0a2c1a 100644 --- a/.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch +++ b/.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch @@ -1,12 +1,13 @@ diff --git a/out/macPackager.js b/out/macPackager.js -index 30787ba358acb9277a63df05c839a0caeea8ad91..a7d2189924ec4108e07112d51f4eadd181b89b89 100644 +index 30787ba358acb9277a63df05c839a0caeea8ad91..aa131c6397d274486117f7693d409729ba4d3ca1 100644 --- a/out/macPackager.js +++ b/out/macPackager.js -@@ -402,6 +402,7 @@ class MacPackager extends platformPackager_1.PlatformPackager { +@@ -276,7 +276,7 @@ class MacPackager extends platformPackager_1.PlatformPackager { + await this.doFlat(appPath, artifactPath, masInstallerIdentity, keychainFile); + await this.dispatchArtifactCreated(artifactPath, null, builder_util_1.Arch.x64, this.computeSafeArtifactName(artifactName, "pkg", arch, true, this.platformSpecificBuildOptions.defaultArch)); + } +- await this.notarizeIfProvided(appPath); ++ if (!isMas) await this.notarizeIfProvided(appPath); return true; } - async notarizeIfProvided(appPath) { -+ if (this.platform.nodeName !== 'darwin') return; - const notarizeOptions = this.platformSpecificBuildOptions.notarize; - if (notarizeOptions === false) { - builder_util_1.log.info({ reason: "`notarizeOptions` is explicitly set to false" }, "skipped macOS notarization"); + async getOptionsForFile(appPath, isMas, customSignOptions) {