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

Merge pull request #246 from h3poteto/priority

Disable renderer backgrounding of chromium
This commit is contained in:
AkiraFukushima 2018-04-20 07:58:16 +09:00 committed by GitHub
commit eccce5592c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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