mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +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,
|
||||
autoHideMenuBar: true,
|
||||
titleBarStyle: 'hidden-inset',
|
||||
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png')
|
||||
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
|
||||
webPreferences: {
|
||||
backgroundThrottling: false
|
||||
}
|
||||
})
|
||||
|
||||
buildWindowMenu(mainWindow)
|
||||
|
Loading…
x
Reference in New Issue
Block a user