disable native menu bar even when alt is pressed (it's useless)
This commit is contained in:
parent
32f3153d43
commit
3207b835ba
1 changed files with 1 additions and 1 deletions
|
|
@ -6,10 +6,10 @@ module.exports = function(settings,app,ipc,browserWindow) {
|
|||
height: 600,
|
||||
icon: path.resolve(__dirname + '/../resources/images/logo.png'),
|
||||
title:settings.read('appName'),
|
||||
autoHideMenuBar:true,
|
||||
backgroundColor:'#1a1d22',
|
||||
// show:false
|
||||
})
|
||||
window.setMenuBarVisibility(false)
|
||||
|
||||
window.loadURL('file://' + __dirname + '/../browser/index.html')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue