diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2021-10-14 20:54:30 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 20:54:30 +0530 |
commit | f4e896631f982a0cc25131a932882dbaab6431bd (patch) | |
tree | a57ae4f997152ba5816a609b7764e7ffb671ad8a /build-helpers/notarize.js | |
parent | New Crowdin updates (#2067) (diff) | |
download | ferdium-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/notarize.js')
-rw-r--r-- | build-helpers/notarize.js | 5 |
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 @@ | |||
1 | const { notarize } = require('electron-notarize'); | ||
2 | |||
3 | exports.default = async function notarizing(context) { | 1 | exports.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`, |