diff --git a/main.js b/main.js index 266f8f6..c8d7b46 100644 --- a/main.js +++ b/main.js @@ -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() +// }); \ No newline at end of file