Skip to content

Commit 430860f

Browse files
committed
feat: add notarize docs
1 parent eb46795 commit 430860f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/packaging.md

+17
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,20 @@ You can debug your production build with devtools by simply setting the `DEBUG_P
2626
```bash
2727
npx cross-env DEBUG_PROD=true npm run package
2828
```
29+
30+
## Notarizing
31+
32+
To notarize your macOS app, you will need to set the following environment variables:
33+
34+
- `APPLE_ID` - Your Apple ID
35+
- `APPLE_APP_SPECIFIC_PASSWORD` - Your Apple ID password
36+
37+
In `package.json` -> `build` -> `mac` the `teamId` key needs to be set:
38+
39+
```
40+
"notarize": {
41+
"teamId": "YOUR_TEAM_ID"
42+
}
43+
```
44+
45+
This above config will automatically get electron-builder to notarize the build.

0 commit comments

Comments
 (0)