diff --git a/src/main/index.js b/src/main/index.js index 0cbaa849..5e54fc0b 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -224,6 +224,9 @@ function createWindow () { }) } +// Do not lower the rendering priority of Chromium when background +app.commandLine.appendSwitch('disable-renderer-backgrounding') + app.on('ready', createWindow) app.on('window-all-closed', () => {