diff --git a/src/main/menus/app.js b/src/main/menus/app.js index b4fd0e58..bc094416 100644 --- a/src/main/menus/app.js +++ b/src/main/menus/app.js @@ -135,6 +135,18 @@ var createTemplate = function(mainWindow) { } }, ] }); + template.push({ + label: '&Window', + submenu: [{ + label: 'Close', + accelerator: 'CmdOrCtrl+W', + click: function(item, focusedWindow) { + if (focusedWindow) { + focusedWindow.close(); + } + } + }] + }); return template; };