Skip to content

The swiss army knife of lossless video/audio editing

try to fix notarize

Mikael Finstad3454bdf957ff
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
new file mode 100644
index 00000000..2142d6ec
--- /dev/null
+++ b/.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch
@@ -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");
diff --git a/package.json b/package.json
index 151a6dd3..e44829c7 100644
--- a/package.json
+++ b/package.json
@@ -432,5 +432,8 @@
]
}
},
- "packageManager": "[email protected]"
+ "packageManager": "[email protected]",
+ "resolutions": {
+ "[email protected]": "patch:app-builder-lib@npm%3A24.8.0#./.yarn/patches/app-builder-lib-npm-24.8.0-51e1f5cd3f.patch"
+ }
}