only check for update don't notify

This commit is contained in:
Abhinav 2022-11-01 13:04:51 +05:30
parent 6ad5b48e0d
commit 3b6a25bc25

View file

@ -17,7 +17,7 @@ class AppUpdater {
async checkForUpdate(tray: Tray, mainWindow: BrowserWindow) { async checkForUpdate(tray: Tray, mainWindow: BrowserWindow) {
log.debug('checkForUpdate'); log.debug('checkForUpdate');
const updateCheckResult = await autoUpdater.checkForUpdatesAndNotify(); const updateCheckResult = await autoUpdater.checkForUpdates();
log.debug(updateCheckResult); log.debug(updateCheckResult);
if ( if (
semVerCmp(updateCheckResult.updateInfo.version, app.getVersion()) > semVerCmp(updateCheckResult.updateInfo.version, app.getVersion()) >