diff --git a/.env.example b/.env.example index 00cd7234..e02d83a6 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,5 @@ PORT= -ELECTRON_START_URL= \ No newline at end of file +ELECTRON_START_URL= +APPLE_ID=YOUR-APPLE-ID +APPLE_PASSWORD=APP-SPECIFIC-PASSWORD +APPLE_TEAM_ID=YOUR-TEAM-ID \ No newline at end of file diff --git a/forge.config.js b/forge.config.js index 38c836a0..4948a5c9 100644 --- a/forge.config.js +++ b/forge.config.js @@ -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: [