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