mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +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,
|
maximizable: false,
|
||||||
fullscreen: Boolean(process.env.ETCHER_FULLSCREEN),
|
fullscreen: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||||
fullscreenable: Boolean(process.env.ETCHER_FULLSCREEN),
|
fullscreenable: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||||
kiosk: true,
|
kiosk: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
titleBarStyle: 'hidden-inset',
|
titleBarStyle: 'hidden-inset',
|
||||||
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
|
icon: path.join(__dirname, '..', '..', 'assets', 'icon.png'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user