Browse Source

remove custom menu (for now)

Paul Frazee 5 years ago
parent
commit
f3421c4bba
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      app/index.js

+ 7
- 7
app/index.js View File

@@ -21,13 +21,13 @@ app.on('ready', function ready () {
21 21
     mainWindow.on('closed', function() { mainWindow = null })
22 22
 
23 23
     // setup menu
24
-    Menu.setApplicationMenu(Menu.buildFromTemplate([{
25
-      label: 'Window',
26
-      submenu: [
27
-        // { label: 'Open Web App', click: onopen },
28
-        { label: 'Quit', click: onquit }
29
-      ]
30
-    }]))
24
+    // Menu.setApplicationMenu(Menu.buildFromTemplate([{
25
+    //   label: 'Window',
26
+    //   submenu: [
27
+    //     // { label: 'Open Web App', click: onopen },
28
+    //     { label: 'Quit', click: onquit }
29
+    //   ]
30
+    // }]))
31 31
 
32 32
     // setup tray icon
33 33
     tray = new Tray(__dirname+'/icon.png')

Loading…
Cancel
Save