ื“ืœื’ ืœืชื•ื›ืŸ ื”ืจืืฉื™

Auto-Updater

Desktop applications include automatic update functionality via electron-updater.

How It Worksโ€‹

Update Sourcesโ€‹

SourceConfiguration
GitHub ReleasesDefault โ€” checks repo releases
Custom ServerSelf-hosted update server
S3 BucketAWS 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โ€‹

  1. Check โ€” polls update server on startup and periodically
  2. Download โ€” downloads update package in background
  3. Verify โ€” validates checksum and signature
  4. Prompt โ€” notifies user of available update
  5. Install โ€” applies update (may require restart)

Code Signingโ€‹

Updates require code-signed builds to pass OS security:

PlatformSigning
WindowsAuthenticode certificate (.pfx)
macOSApple Developer ID + notarization
LinuxNot required (AppImage)

Version Strategyโ€‹

Semantic versioning: MAJOR.MINOR.PATCH

Pre-release channels:

  • latest โ€” stable releases
  • alpha โ€” pre-release builds