We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe823ac commit b7648a7Copy full SHA for b7648a7
auto-updater.js
@@ -1,3 +1,4 @@
1
+const app = require('electron').app
2
const autoUpdater = require('electron').autoUpdater
3
const Menu = require('electron').Menu
4
@@ -29,7 +30,7 @@ exports.initialize = function () {
29
30
exports.updateMenu()
31
})
32
- autoUpdater.setFeedURL('https://electron-api-demos.githubapp.com/updates')
33
+ autoUpdater.setFeedURL(`https://electron-api-demos.githubapp.com/updates?version=${app.getVersion()}`)
34
autoUpdater.checkForUpdates()
35
}
36
0 commit comments