mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-28 05:36:34 +00:00
feat(GUI): add env var to toggle fullscreen (#2313)
We add an environment variable to toggle Etcher in fullscreen. Closes: https://github.com/resin-io/etcher/issues/2307 Change-Type: patch Changelog-Entry: Add environment variable to toggle fullscreen.
This commit is contained in:
parent
66c7806cfa
commit
7f6303391a
@ -40,10 +40,11 @@ electron.app.on('ready', () => {
|
|||||||
height: 380,
|
height: 380,
|
||||||
useContentSize: true,
|
useContentSize: true,
|
||||||
show: false,
|
show: false,
|
||||||
resizable: false,
|
resizable: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||||
maximizable: false,
|
maximizable: false,
|
||||||
fullscreen: false,
|
fullscreen: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||||
fullscreenable: false,
|
fullscreenable: Boolean(process.env.ETCHER_FULLSCREEN),
|
||||||
|
kiosk: true,
|
||||||
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