aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-helpers/notarize.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js
index d799a5624..26a627bea 100644
--- a/build-helpers/notarize.js
+++ b/build-helpers/notarize.js
@@ -1,18 +1,19 @@
1const { notarize } = require('electron-notarize'); 1const { notarize } = require("electron-notarize");
2 2
3exports.default = async function notarizing(context) { 3exports.default = async function notarizing(context) {
4 const { electronPlatformName, appOutDir } = context; 4 const { electronPlatformName, appOutDir } = context;
5 const isTagBuild = process.env.TRAVIS_TAG; 5 const isTagBuild = process.env.TRAVIS_TAG;
6 if (electronPlatformName !== 'darwin' || !isTagBuild) { 6 if (electronPlatformName !== "darwin" || !isTagBuild) {
7 return; 7 return;
8 } 8 }
9 9
10 const appName = context.packager.appInfo.productFilename; 10 const appName = context.packager.appInfo.productFilename;
11 11
12 return await notarize({ 12 return await notarize({
13 appBundleId: 'com.kytwb.ferdi', 13 appBundleId: "com.kytwb.ferdi",
14 appPath: `${appOutDir}/${appName}.app`, 14 appPath: `${appOutDir}/${appName}.app`,
15 ascProvider: "B6J9X9DWFL",
15 appleId: process.env.APPLEID, 16 appleId: process.env.APPLEID,
16 appleIdPassword: process.env.APPLEID_PASSWORD, 17 appleIdPassword: process.env.APPLEID_PASSWORD
17 }); 18 });
18}; 19};