remove custom menu (for now)
This commit is contained in:
parent
fcf8853ee6
commit
f3421c4bba
14
app/index.js
14
app/index.js
@ -21,13 +21,13 @@ app.on('ready', function ready () {
|
||||
mainWindow.on('closed', function() { mainWindow = null })
|
||||
|
||||
// setup menu
|
||||
Menu.setApplicationMenu(Menu.buildFromTemplate([{
|
||||
label: 'Window',
|
||||
submenu: [
|
||||
// { label: 'Open Web App', click: onopen },
|
||||
{ label: 'Quit', click: onquit }
|
||||
]
|
||||
}]))
|
||||
// Menu.setApplicationMenu(Menu.buildFromTemplate([{
|
||||
// label: 'Window',
|
||||
// submenu: [
|
||||
// // { label: 'Open Web App', click: onopen },
|
||||
// { label: 'Quit', click: onquit }
|
||||
// ]
|
||||
// }]))
|
||||
|
||||
// setup tray icon
|
||||
tray = new Tray(__dirname+'/icon.png')
|
||||
|
Loading…
Reference in New Issue
Block a user