Vai al contenuto

@capgo/electron-updater

Push instant updates to your Electron desktop apps without rebuilding binaries. Same reliable live update system now for desktop.

Electron’s built-in auto-updater requires shipping a full new binary for every update. This plugin solves that by enabling JavaScript/HTML/CSS updates without rebuilding.

Instant Updates

Push JavaScript, HTML, and CSS updates directly to users without rebuilding the entire app binary.

Delta Updates

Only download changed files, making updates ultra-fast and bandwidth-efficient.

Rollback Protection

Automatic rollback if an update fails, keeping your app stable for users.

End-to-End Encryption

Secure update delivery with RSA session keys and AES bundle encryption.

  • Live Updates - Push updates instantly without app store delays
  • Auto-Update - Automatic update checking and installation
  • Rollback Protection - Automatic rollback if notifyAppReady() isn’t called
  • Bundle Management - Full control over downloaded bundles
  • Channel System - Deploy to different user groups (production, beta, staging)
  • Delay Conditions - Control when updates are applied (background, kill, date, native version)
  • Debug Menu - Built-in debug tools accessible via Ctrl+Shift+D / Cmd+Shift+D
  • Statistics Reporting - Track update success rates and user versions

The Electron Updater maintains 100% API compatibility with @capgo/capacitor-updater. The same methods, events, and configuration options work across both platforms:

FeatureCapacitorElectron
Live UpdatesYesYes
ChannelsYesYes
Rollback ProtectionYesYes
End-to-End EncryptionYesYes
StatisticsYesYes
Delay ConditionsYesYes
Debug MenuShake deviceKeyboard shortcut
Terminal window
npm install @capgo/electron-updater

Join the Discord to get help and connect with other developers.