You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,40 @@ These are only relevant for Windows Electron builds. The Electron Forge setup no
277
277
|`WINDOWS_CERTIFICATE_FILE`| unset | Optional `.pfx` path for signed Windows/MSIX builds outside the Store. |
278
278
|`WINDOWS_CERTIFICATE_PASSWORD`| unset | Password for `WINDOWS_CERTIFICATE_FILE`. |
279
279
280
+
## Electron macOS Signing And Notarization
281
+
282
+
The Electron Forge setup can now sign and notarize the regular macOS ZIP distribution without enabling any Mac App Store packaging path.
283
+
284
+
Build-time environment variables:
285
+
286
+
| Variable | Default | Description |
287
+
| --- | --- | --- |
288
+
|`STARQUERY_MAC_SIGN`|`false`| Enables macOS code signing for the Electron build. |
289
+
|`STARQUERY_MAC_NOTARIZE`|`false`| Enables notarization for the macOS Electron build. |
290
+
|`STARQUERY_MAC_BUNDLE_ID`|`com.interaapps.starquery`| Bundle identifier used for the regular macOS app build. |
291
+
|`STARQUERY_MAC_APP_CATEGORY`|`public.app-category.developer-tools`| App category written into the macOS app metadata. |
292
+
|`APPLE_SIGN_IDENTITY`| unset | Optional explicit signing identity, for example `Developer ID Application: Your Name (TEAMID)`. If unset, Electron signing can auto-detect a suitable identity from the keychain. |
293
+
|`APPLE_API_KEY`| unset | Path to the App Store Connect API key `.p8` file used for notarization. |
294
+
|`APPLE_API_KEY_ID`| unset | App Store Connect API key ID used for notarization. |
295
+
|`APPLE_API_ISSUER`| unset | App Store Connect API issuer ID used for notarization. |
296
+
|`APPLE_ID`| unset | Optional fallback Apple ID for notarization when not using API-key-based notarization. |
297
+
|`APPLE_APP_SPECIFIC_PASSWORD`| unset | App-specific password for `APPLE_ID` notarization. |
298
+
|`APPLE_TEAM_ID`| unset | Apple team ID required for Apple-ID-based notarization. |
299
+
300
+
GitHub Actions secrets for the macOS release job:
301
+
302
+
| Secret | Required | Description |
303
+
| --- | --- | --- |
304
+
|`APPLE_SIGN_CERTIFICATE_P12_BASE64`| yes for signing | Base64-encoded exported `.p12` containing the `Developer ID Application` certificate. |
305
+
|`APPLE_SIGN_CERTIFICATE_PASSWORD`| yes for signing | Password used when exporting the `.p12` certificate. |
306
+
|`APPLE_SIGN_IDENTITY`| recommended | Exact signing identity name, if you want to avoid auto-detection ambiguity. |
307
+
|`APPLE_NOTARY_API_KEY_P8_BASE64`| recommended for notarization | Base64-encoded App Store Connect API key `.p8`. |
308
+
|`APPLE_API_KEY_ID`| recommended for notarization | App Store Connect API key ID. |
309
+
|`APPLE_API_ISSUER`| recommended for notarization | App Store Connect API issuer ID. |
310
+
|`APPLE_ID`| optional fallback | Apple ID email if you want to use the older Apple-ID notarization flow instead of API keys. |
311
+
|`APPLE_APP_SPECIFIC_PASSWORD`| optional fallback | App-specific password for the Apple-ID notarization flow. |
312
+
|`APPLE_TEAM_ID`| optional fallback | Team ID for the Apple-ID notarization flow. |
0 commit comments