Skip to content

Commit 18e293a

Browse files
authored
Update electron-notarize to 3 (#448)
* Update package.json * Update yarn.lock * Update notarize.js --------- Co-authored-by: Johannes Klein <17345891+jtklein@users.noreply.github.com>
1 parent a976518 commit 18e293a

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"@babel/plugin-proposal-class-properties": "^7.18.6",
101101
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
102102
"@babel/preset-env": "^7.29.7",
103-
"@electron/notarize": "^2.5.0",
103+
"@electron/notarize": "^3.1.1",
104104
"@sentry/cli": "^2.5.2",
105105
"@sentry/webpack-plugin": "^1.19.0",
106106
"cross-env": "^7.0.3",

scripts/notarize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
require('dotenv').config();
22
const { execSync } = require('child_process');
3-
const { notarize } = require('@electron/notarize');
43

54
const EXPECTED_TEAM_ID = '9VR92ZCXA8';
65
const EXPECTED_IDENTITY = `Developer ID Application: Johannes Klein (${EXPECTED_TEAM_ID})`;
@@ -67,8 +66,9 @@ exports.default = async function notarizing(context) {
6766

6867
console.log(`Notarizing ${appName} found at ${appOutDir}`);
6968

69+
const { notarize } = await import('@electron/notarize');
70+
7071
return await notarize({
71-
appBundleId: 'org.jtklein.raxmlGUI2',
7272
appPath,
7373
appleId,
7474
appleIdPassword,

yarn.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2220,13 +2220,12 @@
22202220
fs-extra "^9.0.1"
22212221
promise-retry "^2.0.1"
22222222

2223-
"@electron/notarize@^2.5.0":
2224-
version "2.5.0"
2225-
resolved "https://registry.yarnpkg.com/@electron/notarize/-/notarize-2.5.0.tgz#d4d25356adfa29df4a76bd64a8bd347237cd251e"
2226-
integrity sha512-jNT8nwH1f9X5GEITXaQ8IF/KdskvIkOFfB2CvwumsveVidzpSc+mvhhTMdAGSYF3O+Nq49lJ7y+ssODRXu06+A==
2223+
"@electron/notarize@^3.1.1":
2224+
version "3.1.1"
2225+
resolved "https://registry.yarnpkg.com/@electron/notarize/-/notarize-3.1.1.tgz#428d96ab84e333506f2a16fcf12db7ca12fdc7e0"
2226+
integrity sha512-uQQSlOiJnqRkTL1wlEBAxe90nVN/Fc/hEmk0bqpKk8nKjV1if/tXLHKUPePtv9Xsx90PtZU8aidx5lAiOpjkQQ==
22272227
dependencies:
2228-
debug "^4.1.1"
2229-
fs-extra "^9.0.1"
2228+
debug "^4.4.0"
22302229
promise-retry "^2.0.1"
22312230

22322231
"@electron/osx-sign@1.0.5":
@@ -6119,7 +6118,7 @@ debug@^3.0.0, debug@^3.2.7:
61196118
dependencies:
61206119
ms "^2.1.1"
61216120

6122-
debug@^4.4.3:
6121+
debug@^4.4.0, debug@^4.4.3:
61236122
version "4.4.3"
61246123
resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a"
61256124
integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==

0 commit comments

Comments
 (0)