A drop-in module that adds autoUpdating capabilities to Electron apps
npm i update-electron-app
Drop this anywhere in your main process:
require('update-electron-app')({
repo: 'ummoji/ummoji-desktop'
})
The module will automatically wait for your app's ready
event to fire.
Options:
repo
String (required) - A GitHub repository in the formatowner/repo
host
String (optional) - Defaults tohttps://electron-update-server.herokuapp.com
updateInterval
String (optional) - How frequently to check for updates. Defaults to1 minute
debug
Boolean (optional) - Display debug output. Defaults totrue
npm install
npm test
MIT