diff --git a/menu.js b/menu.js index 5d222767..f309cb63 100644 --- a/menu.js +++ b/menu.js @@ -7,7 +7,7 @@ const appName = app.getName(); // https://github.com/sindresorhus/anatine/blob/master/menu.js -module.exports = function createMenu ({ createWindow }) { +module.exports = function createMenu ({ createWindow, updatePlugins }) { return [ { label: 'Application', @@ -152,6 +152,18 @@ module.exports = function createMenu ({ createWindow }) { } ] }, + { + label: 'Tools', + submenu: [ + { + label: 'Update plugins', + accelerator: 'CmdOrCtrl+U', + click (item, focusedWindow) { + updatePlugins(); + } + } + ] + }, { label: 'Window', submenu: [