From df6a018fb69f596734d4a935445806c0dbd1c70d Mon Sep 17 00:00:00 2001 From: Rokt33r Date: Mon, 16 Nov 2015 04:17:56 +0900 Subject: [PATCH] =?UTF-8?q?update=E3=81=8C=E6=BA=96=E5=82=99=E3=81=A7?= =?UTF-8?q?=E3=81=8D=E3=81=9F=E3=82=89=E3=80=81=E5=86=8D=E8=B5=B7=E5=8B=95?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=82=8B=E3=81=BE=E3=81=A7=E6=94=B9=E3=82=81?= =?UTF-8?q?=E3=81=A6Update=E3=81=AE=E7=A2=BA=E8=AA=8D=E3=82=92=E3=81=97?= =?UTF-8?q?=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 1d63eb1c..e0b65c68 100644 --- a/main.js +++ b/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) {