aboutsummaryrefslogtreecommitdiffstats
path: root/build-helpers
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-10-14 20:54:30 +0530
committerLibravatar GitHub <noreply@github.com>2021-10-14 20:54:30 +0530
commitf4e896631f982a0cc25131a932882dbaab6431bd (patch)
treea57ae4f997152ba5816a609b7764e7ffb671ad8a /build-helpers
parentNew Crowdin updates (#2067) (diff)
downloadferdium-app-f4e896631f982a0cc25131a932882dbaab6431bd.tar.gz
ferdium-app-f4e896631f982a0cc25131a932882dbaab6431bd.tar.zst
ferdium-app-f4e896631f982a0cc25131a932882dbaab6431bd.zip
chore: upgrade 'electron-builder' to '22.14.5' to fix upstream issues. (#2068)
Diffstat (limited to 'build-helpers')
-rw-r--r--build-helpers/notarize.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js
index 1d9302880..f2c160e80 100644
--- a/build-helpers/notarize.js
+++ b/build-helpers/notarize.js
@@ -1,5 +1,3 @@
1const { notarize } = require('electron-notarize');
2
3exports.default = async function notarizing(context) { 1exports.default = async function notarizing(context) {
4 const { electronPlatformName, appOutDir } = context; 2 const { electronPlatformName, appOutDir } = context;
5 if (electronPlatformName !== 'darwin' || process.env.SKIP_NOTARIZATION === 'true' || (process.env.GIT_BRANCH_NAME !== 'release' && process.env.GIT_BRANCH_NAME !== 'nightly')) { 3 if (electronPlatformName !== 'darwin' || process.env.SKIP_NOTARIZATION === 'true' || (process.env.GIT_BRANCH_NAME !== 'release' && process.env.GIT_BRANCH_NAME !== 'nightly')) {
@@ -8,6 +6,9 @@ exports.default = async function notarizing(context) {
8 6
9 const appName = context.packager.appInfo.productFilename; 7 const appName = context.packager.appInfo.productFilename;
10 8
9 // @ts-ignore global-require
10 const { notarize } = require('electron-notarize');
11
11 await notarize({ 12 await notarize({
12 appBundleId: 'com.kytwb.ferdi', 13 appBundleId: 'com.kytwb.ferdi',
13 appPath: `${appOutDir}/${appName}.app`, 14 appPath: `${appOutDir}/${appName}.app`,