Skip to content

Commit

Permalink
notarize: update notarize script for awp
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed May 31, 2024
1 parent d3a7f4c commit 98a2182
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/notarize.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*eslint-env node */
const { notarize } = require('electron-notarize');

exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context;
const { electronPlatformName, appOutDir } = context;
if (electronPlatformName !== 'darwin') {
return;
}
Expand All @@ -21,6 +22,8 @@ exports.default = async function notarizing(context) {
const appName = context.packager.appInfo.productFilename;

return await notarize({
tool: 'notarytool',
teamId: process.env.APPLE_TEAM_ID,
appBundleId: 'net.webrecorder.archiveweb.page',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
Expand Down

0 comments on commit 98a2182

Please sign in to comment.