try to fix notarize

pull/1755/head
Mikael Finstad 2 years ago
parent ed886a90e1
commit 3454bdf957
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -0,0 +1,12 @@
diff --git a/out/macPackager.js b/out/macPackager.js
index 30787ba358acb9277a63df05c839a0caeea8ad91..a7d2189924ec4108e07112d51f4eadd181b89b89 100644
--- a/out/macPackager.js
+++ b/out/macPackager.js
@@ -402,6 +402,7 @@ class MacPackager extends platformPackager_1.PlatformPackager {
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");

@ -432,5 +432,8 @@
]
}
},
"packageManager": "yarn@3.3.0"
"packageManager": "yarn@3.3.0",
"resolutions": {
"app-builder-lib@24.8.0": "patch:app-builder-lib@npm%3A24.8.0#./.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch"
}
}

Loading…
Cancel
Save