Auto-Updater
Desktop applications include automatic update functionality via electron-updater.
How It Worksโ
Update Sourcesโ
| Source | Configuration |
|---|---|
| GitHub Releases | Default โ checks repo releases |
| Custom Server | Self-hosted update server |
| S3 Bucket | AWS S3 with update metadata |
Configurationโ
GitHub Releasesโ
// electron-builder.yml
publish:
provider: github
owner: ever-co
repo: ever-gauzy
Custom Serverโ
publish:
provider: generic
url: https://updates.yourdomain.com
Update Processโ
- Check โ polls update server on startup and periodically
- Download โ downloads update package in background
- Verify โ validates checksum and signature
- Prompt โ notifies user of available update
- Install โ applies update (may require restart)
Code Signingโ
Updates require code-signed builds to pass OS security:
| Platform | Signing |
|---|---|
| Windows | Authenticode certificate (.pfx) |
| macOS | Apple Developer ID + notarization |
| Linux | Not required (AppImage) |
Version Strategyโ
Semantic versioning: MAJOR.MINOR.PATCH
Pre-release channels:
latestโ stable releasesalphaโ pre-release builds
Related Pagesโ
- Desktop Overview
- Desktop Builds โ building releases
- GitHub Actions โ CI for releases