Skip to content

Commit

Permalink
Don’t use electron-notarize-dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiemh committed May 9, 2024
1 parent 31b9bbb commit e5afbaf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 50 deletions.
45 changes: 0 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions packages/electron/lib/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const fs = require('fs');
const path = require('path');
const Builder = require('electron-builder');
const Notarizer = require('@electron/notarize');
const Dmgerizer = require('electron-notarize-dmg');
const Command = require('ember-cli/lib/commands/build');
const { log } = require('builder-util');

Expand Down Expand Up @@ -181,10 +180,10 @@ module.exports = Command.extend({

log.info({ appId, dmgPath }, "notarizing");

return await Dmgerizer.notarize({
return await Notarizer.notarize({
tool: 'notarytool',
appBundleId: appId,
dmgPath: dmgPath,
appPath: dmgPath,
appleId: APPLE_ID,
teamId: APPLE_TEAMID,
appleIdPassword: APPLE_PASSWORD,
Expand Down
3 changes: 1 addition & 2 deletions packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"builder-util": "^24.8.1",
"electron": "30.0.3",
"electron-builder": "^24.13.3",
"electron-notarize-dmg": "^1.0.0",
"electron-updater": "^6.1.8",
"ember-cli-babel": "^8.2.0",
"ember-cli-htmlbars": "^6.3.0"
Expand All @@ -34,4 +33,4 @@
"publishConfig": {
"access": "public"
}
}
}

0 comments on commit e5afbaf

Please sign in to comment.