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 })
|
mainWindow.on('closed', function() { mainWindow = null })
|
||||||
|
|
||||||
// setup menu
|
// setup menu
|
||||||
Menu.setApplicationMenu(Menu.buildFromTemplate([{
|
// Menu.setApplicationMenu(Menu.buildFromTemplate([{
|
||||||
label: 'Window',
|
// label: 'Window',
|
||||||
submenu: [
|
// submenu: [
|
||||||
// { label: 'Open Web App', click: onopen },
|
// // { label: 'Open Web App', click: onopen },
|
||||||
{ label: 'Quit', click: onquit }
|
// { label: 'Quit', click: onquit }
|
||||||
]
|
// ]
|
||||||
}]))
|
// }]))
|
||||||
|
|
||||||
// setup tray icon
|
// setup tray icon
|
||||||
tray = new Tray(__dirname+'/icon.png')
|
tray = new Tray(__dirname+'/icon.png')
|
||||||
|
Loading…
Reference in New Issue
Block a user