mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
updateが準備できたら、再起動されるまで改めてUpdateの確認をしない
This commit is contained in:
4
main.js
4
main.js
@@ -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