Skip to content

Commit

Permalink
chore: update notarize package
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarkhanzadian committed Apr 24, 2024
1 parent 1678e43 commit 6723427
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion electron-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (!['mainnet', 'testnet'].includes(process.env.STX_NETWORK)) {
}

const baseConfig = {
// afterSign: 'scripts/notarize.js',
afterSign: 'scripts/notarize.js',
asarUnpack: ['**/*.node'],
files: [
'dist/',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"electron": "22.3.24",
"electron-builder": "22.10.5",
"electron-devtools-installer": "3.2.0",
"electron-notarize": "1.0.0",
"electron-notarize": "^1.2.2",
"electron-rebuild": "3.2.9",
"enzyme": "3.11.0",
"eslint-plugin-jsx-a11y": "6.7.1",
Expand Down
1 change: 1 addition & 0 deletions scripts/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exports.default = async function notarizing(context) {
const appName = context.packager.appInfo.productFilename;

return await notarize({
tool: 'notarytool',
appBundleId: `${String(appId)}`,
appPath: `${String(appOutDir)}/${String(appName)}.app`,
appleId: process.env.APPLE_ID,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8122,10 +8122,10 @@ electron-localshortcut@^3.1.0:
keyboardevent-from-electron-accelerator "^2.0.0"
keyboardevents-areequal "^0.2.1"

electron-notarize@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-1.0.0.tgz#bc925b1ccc3f79e58e029e8c4706572b01a9fd8f"
integrity sha512-dsib1IAquMn0onCrNMJ6gtEIZn/azG8hZMCYOuZIMVMUeRMgBYHK1s5TK9P8xAcrAjh/2aN5WYHzgVSWX314og==
electron-notarize@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-1.2.2.tgz#ebf2b258e8e08c1c9f8ff61dc53d5b16b439daf4"
integrity sha512-ZStVWYcWI7g87/PgjPJSIIhwQXOaw4/XeXU+pWqMMktSLHaGMLHdyPPN7Cmao7+Cr7fYufA16npdtMndYciHNw==
dependencies:
debug "^4.1.1"
fs-extra "^9.0.1"
Expand Down

0 comments on commit 6723427

Please sign in to comment.