1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

fix updater bug

This commit is contained in:
Rokt33r
2015-10-20 01:51:51 +09:00
parent 58381b8062
commit 326c7a93fb
5 changed files with 12 additions and 8 deletions

View File

@@ -45,13 +45,14 @@ app.on('ready', function () {
appQuit = true
})
console.log('Version ' + version)
updater.setFeedUrl('http://orbital.b00st.io/rokt33r/boost/latest?version=' + version)
updater.setFeedUrl('http://orbital.b00st.io/rokt33r/boost-dev/latest?version=' + version)
updater.checkForUpdates()
// menu start
var template = require('./atom-lib/menu-template')
ipc.on('update-app', function (event, msg) {
if (update != null) {
appQuit = true
update()
}
})