Skip to content

Commit aff5b5e

Browse files
docs(desktop): note CI unsigned builds and sandbox workaround
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>
1 parent 67f23ed commit aff5b5e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

desktop/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ environment variables to enable it:
9191
- macOS: `CSC_LINK`, `CSC_KEY_PASSWORD`, plus `APPLE_ID`, `APPLE_APP_SPECIFIC_PASSWORD`, `APPLE_TEAM_ID` for notarisation.
9292
- Windows: `CSC_LINK`, `CSC_KEY_PASSWORD` (or an Azure Trusted Signing config).
9393

94+
CI (`.github/workflows/desktop-release.yml`) builds **unsigned** installers unless
95+
the repository secret `DESKTOP_CSC_LINK` is set. An empty `CSC_LINK` still counts
96+
as configured for electron-builder and fails the macOS job — the workflow only
97+
exports `CSC_*` when that secret is non-empty, and otherwise sets
98+
`CSC_IDENTITY_AUTO_DISCOVERY=false`. Linux selftests set `ELECTRON_DISABLE_SANDBOX=1`
99+
because hosted runners lack a correctly permissioned `chrome-sandbox`.
100+
94101
**Auto-update** is opt-in. `package.json` sets `"publish": null`, so no update
95102
feed is baked in and the updater no-ops. To enable it, either set a `publish`
96103
target (GitHub Releases, S3, generic) before building, or point

0 commit comments

Comments
 (0)