Configure Electron autoUpdater with Hazel
masterOnce Hazel is deployed, integrate it into your Electron application by setting the feed URL using the deployment address. Use process.platform and app.getVersion() to construct the update URL.
Note: Only perform this configuration in the production version of your app, not during development.
const { app, autoUpdater } = require('electron')
const server = <your-deployment-url>
const url = `${server}/update/${process.platform}/${app.getVersion()}`
autoUpdater.setFeedURL({ url })