From 9d04827adca0ff4542d281b1d950524ab761529f Mon Sep 17 00:00:00 2001 From: Amine Mouafik Date: Wed, 15 Jan 2020 12:13:10 +0100 Subject: Add ascProvider to fix notarizing on macOS I am now managing multiple apps so I had to specify the ascProvider now; it was unecessary before. --- build-helpers/notarize.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'build-helpers') 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 @@ -const { notarize } = require('electron-notarize'); +const { notarize } = require("electron-notarize"); exports.default = async function notarizing(context) { const { electronPlatformName, appOutDir } = context; const isTagBuild = process.env.TRAVIS_TAG; - if (electronPlatformName !== 'darwin' || !isTagBuild) { + if (electronPlatformName !== "darwin" || !isTagBuild) { return; } const appName = context.packager.appInfo.productFilename; return await notarize({ - appBundleId: 'com.kytwb.ferdi', + appBundleId: "com.kytwb.ferdi", appPath: `${appOutDir}/${appName}.app`, + ascProvider: "B6J9X9DWFL", appleId: process.env.APPLEID, - appleIdPassword: process.env.APPLEID_PASSWORD, + appleIdPassword: process.env.APPLEID_PASSWORD }); }; -- cgit v1.2.3-54-g00ecf