Enable "autoHideMenuBar" on electron window
This commit is contained in:
parent
f8a6985b20
commit
93688dc2b4
|
@ -63,6 +63,7 @@ function createWindow () {
|
||||||
backgroundColor: '#fff',
|
backgroundColor: '#fff',
|
||||||
width: 960,
|
width: 960,
|
||||||
height: 540,
|
height: 540,
|
||||||
|
autoHideMenuBar: true,
|
||||||
// useContentSize: true,
|
// useContentSize: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
|
|
Loading…
Reference in New Issue