Skip to content

Commit

Permalink
added new checkForUpdatesAndNotify() method
Browse files Browse the repository at this point in the history
  • Loading branch information
GorvGoyl committed Nov 1, 2017
1 parent 0ea710f commit 0c4d947
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,8 @@ autoUpdater.on('update-downloaded', (info) => {
app.on('ready', function() {
autoUpdater.checkForUpdates();
});

// Update will be downloaded now but installed only on the next launch of the app
// app.on('ready', function() {
// autoUpdater.checkForUpdatesAndNotify()
// });

0 comments on commit 0c4d947

Please sign in to comment.