Skip to content

Commit

Permalink
dont show update window
Browse files Browse the repository at this point in the history
  • Loading branch information
Hybes committed May 19, 2024
1 parent 51e4ab2 commit e1cf936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@ autoUpdater.setFeedURL({
});
autoUpdater.on('checking-for-update', () => {
sendTracking('/auto-update', 'Auto Update');
openUpdateWindow();
// openUpdateWindow();
});
autoUpdater.on('update-available', (info) => {
sendTracking('/update-available', 'Update Available');
openUpdateWindow();
if (updateWindow) {
updateWindow.webContents.send('update-status', 'Update available. Downloading...');
}
Expand Down

0 comments on commit e1cf936

Please sign in to comment.