diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-04-16 06:11:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 12:11:19 +0000 |
commit | 33b965363150ea10965bf82cd54ad38c2cf213b8 (patch) | |
tree | 26ee408e5fe8cf776f1ed0a88058830163873f82 /build-helpers | |
parent | Upgrade electron to '30.0.0' (diff) | |
download | ferdium-app-33b965363150ea10965bf82cd54ad38c2cf213b8.tar.gz ferdium-app-33b965363150ea10965bf82cd54ad38c2cf213b8.tar.zst ferdium-app-33b965363150ea10965bf82cd54ad38c2cf213b8.zip |
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>
Diffstat (limited to 'build-helpers')
-rw-r--r-- | build-helpers/notarize.js | 7 |
1 files changed, 3 insertions, 4 deletions
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) { | |||
11 | 11 | ||
12 | const appName = context.packager.appInfo.productFilename; | 12 | const appName = context.packager.appInfo.productFilename; |
13 | 13 | ||
14 | // @ts-ignore global-require | 14 | // eslint-disable-next-line global-require |
15 | const { notarize } = require('@electron/notarize'); | 15 | const { notarize } = require('@electron/notarize'); |
16 | 16 | ||
17 | await notarize({ | 17 | await notarize({ |
18 | tool: 'notarytool', | 18 | tool: 'notarytool', |
19 | appBundleId: 'org.ferdium.ferdium-app', | ||
20 | appPath: `${appOutDir}/${appName}.app`, | 19 | appPath: `${appOutDir}/${appName}.app`, |
21 | teamId: '55E9FPJ93P', | 20 | teamId: '55E9FPJ93P', |
22 | appleId: process.env.APPLEID, | 21 | appleId: process.env.APPLEID || '', |
23 | appleIdPassword: process.env.APPLEID_PASSWORD, | 22 | appleIdPassword: process.env.APPLEID_PASSWORD || '', |
24 | }); | 23 | }); |
25 | }; | 24 | }; |