Don't auto-update during calls

This commit is contained in:
Fedor Indutny
2023-12-19 18:40:27 +01:00
committed by GitHub
parent e46b1f7958
commit 57efbe50bc

View File

@@ -1174,7 +1174,8 @@ async function readyForUpdates() {
canRunSilently: () => {
return (
systemTrayService?.isVisible() === true &&
mainWindow?.isVisible() === false
mainWindow?.isVisible() !== true &&
mainWindow?.webContents?.getBackgroundThrottling() !== false
);
},
});