1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-01-30 17:15:16 +01:00

fix: Disable renderer backgrounding of chromium

This commit is contained in:
AkiraFukushima 2018-04-20 00:34:24 +09:00
parent e0c4953c2f
commit 7fb3dfeb3b

View File

@ -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', () => {