Skip to content

Commit

Permalink
Merge pull request #7 from develar/patch-1
Browse files Browse the repository at this point in the history
Remove the extraneous log calls
  • Loading branch information
iffy authored Feb 13, 2017
2 parents 12cd8b2 + d58cf07 commit 8e8aed0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,19 @@ autoUpdater.on('checking-for-update', () => {
})
autoUpdater.on('update-available', (ev, info) => {
sendStatus('Update available.');
log.info('info', info);
})
autoUpdater.on('update-not-available', (ev, info) => {
sendStatus('Update not available.');
log.info('info', info);
})
autoUpdater.on('error', (ev, err) => {
sendStatus('Error in auto-updater.');
log.info('err', err);
})
autoUpdater.on('download-progress', (ev, progressObj) => {
sendStatus('Download progress...');
log.info('progressObj', progressObj);
})
autoUpdater.on('update-downloaded', (ev, info) => {
sendStatus('Update downloaded. Will quit and install in 5 seconds.');
log.info('info', info);
// Wait 5 seconds, then quit and install
setTimeout(function() {
autoUpdater.quitAndInstall();
Expand Down

0 comments on commit 8e8aed0

Please sign in to comment.