From 33b965363150ea10965bf82cd54ad38c2cf213b8 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Tue, 16 Apr 2024 06:11:19 -0600 Subject: chore: upgrade `@electron/notarize` to v2 (#1687) * chore: upgrade @electron/notarize to v2 - remove redundant `appBundleId` and provide fallback for `appleId` and `appleIdPassword` - replace `ts-ignore` with `eslint-disable` in notarize.js - Explicitly disable electron-builder notarizing Co-authored-by: Alphrag <34252790+Alphrag@users.noreply.github.com> --- build-helpers/notarize.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'build-helpers/notarize.js') 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) { const appName = context.packager.appInfo.productFilename; - // @ts-ignore global-require + // eslint-disable-next-line global-require const { notarize } = require('@electron/notarize'); await notarize({ tool: 'notarytool', - appBundleId: 'org.ferdium.ferdium-app', appPath: `${appOutDir}/${appName}.app`, teamId: '55E9FPJ93P', - appleId: process.env.APPLEID, - appleIdPassword: process.env.APPLEID_PASSWORD, + appleId: process.env.APPLEID || '', + appleIdPassword: process.env.APPLEID_PASSWORD || '', }); }; -- cgit v1.2.3-70-g09d2