1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-07 04:43:52 +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('ready', createWindow)
app.on('window-all-closed', () => { app.on('window-all-closed', () => {