From ef20a8f3e55f0c03a20cb8290f96d3e3c5a4695d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Santos?= Date: Tue, 19 May 2020 10:04:23 +0100 Subject: [PATCH] Remove debug statements --- lib/main-app.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/main-app.js b/lib/main-app.js index c0040084..cc3439bc 100644 --- a/lib/main-app.js +++ b/lib/main-app.js @@ -44,9 +44,10 @@ function checkUpdate(manualTriggered = false) { return true } + // End if auto updates disabled and it is an automatic check if (!electronConfig.get('autoUpdateEnabled', true) && !manualTriggered) return + if (process.platform === 'linux' || isUpdateReady || updateFound) { - console.log('READY|FOUND', isUpdateReady, updateFound) return true } @@ -138,7 +139,4 @@ app.on('ready', function() { ipcServer.server.start() }) -module.exports = { - app, - checkUpdate -} +module.exports = app