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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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