Merge pull request #47 from Airradda/menubar
Enable "autoHideMenuBar" on Electron window
This commit is contained in:
commit
f414c0f4b7
|
@ -64,6 +64,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