Skip to content

Commit

Permalink
feat: add notarize docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amilajack committed Jul 13, 2024
1 parent eb46795 commit 430860f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,20 @@ You can debug your production build with devtools by simply setting the `DEBUG_P
```bash
npx cross-env DEBUG_PROD=true npm run package
```

## Notarizing

To notarize your macOS app, you will need to set the following environment variables:

- `APPLE_ID` - Your Apple ID
- `APPLE_APP_SPECIFIC_PASSWORD` - Your Apple ID password

In `package.json` -> `build` -> `mac` the `teamId` key needs to be set:

```
"notarize": {
"teamId": "YOUR_TEAM_ID"
}
```

This above config will automatically get electron-builder to notarize the build.

0 comments on commit 430860f

Please sign in to comment.