From 0c7d6e4d478bdcb841f81bf6feb07ba238b64108 Mon Sep 17 00:00:00 2001 From: Lawrence Thorpe Date: Sun, 23 Jul 2017 23:43:20 +0100 Subject: [PATCH] Cleanup log --- main.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.js b/main.js index 0ab901d..1fdcd36 100644 --- a/main.js +++ b/main.js @@ -36,13 +36,6 @@ log.info("App starting...") autoUpdater.logger = log autoUpdater.logger.transports.file.level = 'info' -autoUpdater.on('download-progress', (progressObj) => { - let log_message = "Download speed: " + progressObj.bytesPerSecond; - log_message = log_message + ' - Downloaded ' + progressObj.percent + '%'; - log_message = log_message + ' (' + progressObj.transferred + "/" + progressObj.total + ')'; - sendStatusToWindow(log_message); -}) - autoUpdater.on('update-downloaded', (info) => { autoUpdater.quitAndInstall() })