Skip to content

Commit 0c4d947

Browse files
committed
added new checkForUpdatesAndNotify() method
1 parent 0ea710f commit 0c4d947

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,8 @@ autoUpdater.on('update-downloaded', (info) => {
132132
app.on('ready', function() {
133133
autoUpdater.checkForUpdates();
134134
});
135+
136+
// Update will be downloaded now but installed only on the next launch of the app
137+
// app.on('ready', function() {
138+
// autoUpdater.checkForUpdatesAndNotify()
139+
// });

0 commit comments

Comments
 (0)