aboutsummaryrefslogtreecommitdiffstats
path: root/build-helpers/notarize.js
diff options
context:
space:
mode:
Diffstat (limited to 'build-helpers/notarize.js')
-rw-r--r--build-helpers/notarize.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js
index 32faa97b8..e3fece0b3 100644
--- a/build-helpers/notarize.js
+++ b/build-helpers/notarize.js
@@ -11,15 +11,14 @@ exports.default = async function notarizing(context) {
11 11
12 const appName = context.packager.appInfo.productFilename; 12 const appName = context.packager.appInfo.productFilename;
13 13
14 // @ts-ignore global-require 14 // eslint-disable-next-line global-require
15 const { notarize } = require('@electron/notarize'); 15 const { notarize } = require('@electron/notarize');
16 16
17 await notarize({ 17 await notarize({
18 tool: 'notarytool', 18 tool: 'notarytool',
19 appBundleId: 'org.ferdium.ferdium-app',
20 appPath: `${appOutDir}/${appName}.app`, 19 appPath: `${appOutDir}/${appName}.app`,
21 teamId: '55E9FPJ93P', 20 teamId: '55E9FPJ93P',
22 appleId: process.env.APPLEID, 21 appleId: process.env.APPLEID || '',
23 appleIdPassword: process.env.APPLEID_PASSWORD, 22 appleIdPassword: process.env.APPLEID_PASSWORD || '',
24 }); 23 });
25}; 24};