Skip to content

Commit

Permalink
fix: add osxSign, and osxNotarize for production builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rickimoore committed Mar 2, 2023
1 parent 0749553 commit fde2c2d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
PORT=
ELECTRON_START_URL=
ELECTRON_START_URL=
APPLE_ID=YOUR-APPLE-ID
APPLE_PASSWORD=APP-SPECIFIC-PASSWORD
APPLE_TEAM_ID=YOUR-TEAM-ID
13 changes: 13 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
// eslint-disable-next-line no-undef,@typescript-eslint/no-var-requires
require('dotenv').config()

// eslint-disable-next-line no-undef
module.exports = {
packagerConfig: {
icon: 'src/assets/images/sigma', // no file extension required
osxSign: {},
osxNotarize: {
tool: 'notarytool',
// eslint-disable-next-line no-undef
appleId: process.env.APPLE_ID,
// eslint-disable-next-line no-undef
appleIdPassword: process.env.APPLE_PASSWORD,
// eslint-disable-next-line no-undef
teamId: process.env.APPLE_TEAM_ID,
},
},
rebuildConfig: {},
makers: [
Expand Down

0 comments on commit fde2c2d

Please sign in to comment.