1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

updateが準備できたら、再起動されるまで改めてUpdateの確認をしない

This commit is contained in:
Rokt33r
2015-11-16 04:17:56 +09:00
parent 409eaf54c1
commit df6a018fb6

View File

@@ -51,11 +51,11 @@ app.on('ready', function () {
var template = require('./atom-lib/menu-template')
setInterval(function () {
updater.checkForUpdates()
if (update == null) updater.checkForUpdates()
}, 1000 * 60 * 60 * 24)
ipc.on('check-update', function (event, msg) {
updater.checkForUpdates()
if (update == null) updater.checkForUpdates()
})
ipc.on('update-app', function (event, msg) {