mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 03:36:36 +00:00
minifix(gui): Only enable Kiosk Mode when FULLSCREEN is set
This fixes the `kiosk` setting always being true, and causing the operating system's desktop to disappear. Change-Type: patch
This commit is contained in:
parent
262d06f035
commit
40df4a94a7
@ -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