disable native menu bar even when alt is pressed (it's useless)

This commit is contained in:
jean-emmanuel 2016-04-05 00:53:55 +02:00
parent 32f3153d43
commit 3207b835ba

View file

@ -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')