title: How to get My Electron Auto updater to work?
body: <p>I'm trying to get my Electron Vue.js aplication to update itself when i release a new update in my Github Repro.</p>
  <p>I'm packing my app using &quot;electron-builder&quot; and here is my <a href="https://gist.github.com/ScarVite/ba1cbd2e9e9ee5b9d5652d9f8ab33ade" rel="nofollow noreferrer">package.json</a></p>
  <p>I was following <a href="https://www.electronjs.org/docs/tutorial/updates" rel="nofollow noreferrer">this guide</a> but it didn't work.</p>
  <p>This is the Code for the updater part which is located at the top of the src/main/index.js.</p>
  <pre><code>const { app, autoUpdater, dialog } = require('electron')
  const server = &quot;https://hazel.scarvite.now.sh/&quot;
  const feed = `${server}/update/${process.platform}/${app.getVersion()}`
  autoUpdater.setFeedURL(feed)
  
  setInterval(() =&gt; {
      autoUpdater.checkForUpdates()
  }, 60000)
  
  autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) =&gt; {
      const dialogOpts = {
          type: 'info',
          buttons: ['Restart', 'Not Now. On next Restart'],
          title: 'Update',
          message: process.platform === 'win32' ? releaseNotes : releaseName,
          detail: 'A New Version has been Downloaded. Restart Now to Complete the Update.'
      }
  
      dialog.showMessageBox(dialogOpts).then((returnValue) =&gt; {
          if (returnValue.response === 0) autoUpdater.quitAndInstall()
      })
  })
  
  autoUpdater.on('error', message =&gt; {
      console.error('There was a problem updating the application')
      console.error(message)
  })
  </code></pre>
  <p>I am Hoping that you guys can help me</p>