mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 02:06:33 +00:00
Merge pull request #2100 from resin-io/disable-timer-throttle
fix(gui): Disable throttling timers when in background
This commit is contained in:
commit
e01aec7b52
@ -46,7 +46,10 @@ electron.app.on('ready', () => {
|
|||||||
fullscreenable: false,
|
fullscreenable: false,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
titleBarStyle: 'hidden-inset',
|
titleBarStyle: 'hidden-inset',
|
||||||
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png')
|
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
|
||||||
|
webPreferences: {
|
||||||
|
backgroundThrottling: false
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
buildWindowMenu(mainWindow)
|
buildWindowMenu(mainWindow)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user