only check for update don't notify
This commit is contained in:
parent
6ad5b48e0d
commit
3b6a25bc25
|
@ -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()) >
|
||||||
|
|
Loading…
Reference in a new issue