Deploying
Way 1: AutoUpdate Server
Hazel
git clone https://github.com/zeit/hazel
cd hazel
#PUBLIC REPOS
now -e ACCOUNT="<github-account>" -e REPOSITORY="<github-repository>"
#Private REPOS
now --prod -e URL='https://<NOW DOMAIN>.now.sh' -e TOKEN="<GITHUB_TOKEN>" -e ACCOUNT="jsfuentes" -e REPOSITORY="Room"const { app, autoUpdater } = require('electron')
const server = <your-deployment-url>
const feed = `${server}/update/${process.platform}/${app.getVersion()}`
autoUpdater.setFeedURL(feed)
setInterval(() => {
autoUpdater.checkForUpdates()
}, 600000) //check every 10 minutesWay 2: Electron-Updater
Electron-updater Vs. built-in autoUpdater
Way 3, Electron Way:
Last updated