Skip to content

Commit 98a2182

Browse files
committed
notarize: update notarize script for awp
1 parent d3a7f4c commit 98a2182

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/notarize.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
/*eslint-env node */
12
const { notarize } = require('electron-notarize');
23

34
exports.default = async function notarizing(context) {
4-
const { electronPlatformName, appOutDir } = context;
5+
const { electronPlatformName, appOutDir } = context;
56
if (electronPlatformName !== 'darwin') {
67
return;
78
}
@@ -21,6 +22,8 @@ exports.default = async function notarizing(context) {
2122
const appName = context.packager.appInfo.productFilename;
2223

2324
return await notarize({
25+
tool: 'notarytool',
26+
teamId: process.env.APPLE_TEAM_ID,
2427
appBundleId: 'net.webrecorder.archiveweb.page',
2528
appPath: `${appOutDir}/${appName}.app`,
2629
appleId: process.env.APPLE_ID,

0 commit comments

Comments
 (0)