We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent effb9a5 commit e07e23bCopy full SHA for e07e23b
resources/js/build/notarize.js
@@ -1,7 +1,11 @@
1
import { notarize } from '@electron/notarize';
2
3
export default async (context) => {
4
- if (process.platform !== 'darwin') return
+ // Only notarize when process is running on a Mac
5
+ if (process.platform !== 'darwin') return;
6
+
7
+ // And the current build target is macOS
8
+ if (context.packager.platform.name !== 'mac') return;
9
10
console.log('aftersign hook triggered, start to notarize app.')
11
0 commit comments