mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 18:56:31 +00:00
Merge pull request #2318 from resin-io/kiosk
minifix(gui): Only enable Kiosk Mode when FULLSCREEN is set
This commit is contained in:
commit
58fb1cf4c3
@ -44,7 +44,7 @@ electron.app.on('ready', () => {
|
||||
maximizable: false,
|
||||
fullscreen: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||
fullscreenable: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||
kiosk: true,
|
||||
kiosk: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||
autoHideMenuBar: true,
|
||||
titleBarStyle: 'hidden-inset',
|
||||
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user