From 628d8eb5dca1b3c93d115404ef297e6de558a434 Mon Sep 17 00:00:00 2001 From: "SPRINX0\\prochazka" Date: Mon, 9 Sep 2024 16:33:47 +0200 Subject: [PATCH] fix --- app/src/electron.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/electron.js b/app/src/electron.js index 2919b1c2..d158c54c 100644 --- a/app/src/electron.js +++ b/app/src/electron.js @@ -471,7 +471,9 @@ autoUpdater.on('checking-for-update', () => { autoUpdater.on('update-available', info => { console.log('Update available', info); changeAppUpdateStatus(`New version ${info.version} available`); - mainWindow.webContents.send('update-available', info.version); + if (!autoUpdater.autoDownload) { + mainWindow.webContents.send('update-available', info.version); + } }); autoUpdater.on('update-not-available', info => {