diff --git a/build/mac/afterSignHook.cjs b/build/mac/afterSignHook.cjs index bad98de0..0eb03546 100644 --- a/build/mac/afterSignHook.cjs +++ b/build/mac/afterSignHook.cjs @@ -2,7 +2,7 @@ const fs = require('fs') const path = require('path') -const notarizer = require('electron-notarize') +const notarizer = require('@electron/notarize') module.exports = async function (params) { // notarize the app on Mac OS only. diff --git a/package.json b/package.json index d13ac8d9..d8b96f95 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@angular/platform-browser": "^15.2.6", "@angular/platform-browser-dynamic": "^15.2.6", "@biesbjerg/ngx-translate-extract-marker": "^1.0.0", + "@electron/notarize": "^1.2.3", "@fortawesome/fontawesome-free": "^6.4.0", "@ng-bootstrap/ng-bootstrap": "^14.1.0", "@ngtools/webpack": "^15.2.5", @@ -42,7 +43,6 @@ "electron-builder": "^24.0.0-alpha.1", "electron-download": "^4.1.1", "electron-installer-snap": "^5.1.0", - "electron-notarize": "^1.2.2", "electron-rebuild": "^3.2.9", "eslint": "^8.38.0", "eslint-import-resolver-typescript": "^3.5.2", diff --git a/yarn.lock b/yarn.lock index f0065b42..df5bd25b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -331,6 +331,14 @@ optionalDependencies: global-agent "^3.0.0" +"@electron/notarize@^1.2.3": + version "1.2.3" + resolved "https://registry.yarnpkg.com/@electron/notarize/-/notarize-1.2.3.tgz#38056a629e5a0b5fd56c975c4828c0f74285b644" + integrity sha512-9oRzT56rKh5bspk3KpAVF8lPKHYQrBnRwcgiOeR0hdilVEQmszDaAu0IPCPrwwzJN0ugNs0rRboTreHMt/6mBQ== + dependencies: + debug "^4.1.1" + fs-extra "^9.0.1" + "@electron/universal@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@electron/universal/-/universal-1.2.1.tgz#3c2c4ff37063a4e9ab1e6ff57db0bc619bc82339" @@ -3023,14 +3031,6 @@ electron-localshortcut@^3.1.0: keyboardevent-from-electron-accelerator "^2.0.0" keyboardevents-areequal "^0.2.1" -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" - electron-osx-sign@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.6.0.tgz#9b69c191d471d9458ef5b1e4fdd52baa059f1bb8"