# WorkOnClock Desktop Release

Desktop releases use `electron-builder` and `electron-updater`.

Required release secrets:

- `GH_TOKEN`: GitHub token with release upload permission for auto-update artifacts.
- Apple signing: `CSC_LINK`, `CSC_KEY_PASSWORD`, `APPLE_ID`, `APPLE_APP_SPECIFIC_PASSWORD`, `APPLE_TEAM_ID`.
- Windows signing: certificate configured through `CSC_LINK` and `CSC_KEY_PASSWORD`, or the signing provider used by CI.

Commands:

```bash
npm run generate-icons -w @workonclock/desktop
npm run dist -w @workonclock/desktop -- --publish always
```

Local unsigned packaging remains available with:

```bash
npm run build -w @workonclock/desktop
```
