Skip to content

Commit

Permalink
Cleanup log
Browse files Browse the repository at this point in the history
  • Loading branch information
thorpelawrence committed Jul 23, 2017
1 parent 52b0796 commit 0c7d6e4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 0c7d6e4

Please sign in to comment.