From 430860f0a84f11e089a8f8b969cb8207c4937603 Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Sat, 13 Jul 2024 15:35:08 -0700 Subject: [PATCH] feat: add notarize docs --- docs/packaging.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/packaging.md b/docs/packaging.md index 7260869d..0c567c45 100644 --- a/docs/packaging.md +++ b/docs/packaging.md @@ -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.