mirror of
https://github.com/BoostIo/Boostnote
synced 2026-07-04 20:15:25 +00:00
updateが準備できたら、再起動されるまで改めてUpdateの確認をしない
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user