mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Rename plugins menu to tools menu
This commit is contained in:
parent
6dbb1afdf1
commit
b59d512fe5
2 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ import {icon} from '../config/paths';
|
|||
import viewMenu from './menus/view';
|
||||
import shellMenu from './menus/shell';
|
||||
import editMenu from './menus/edit';
|
||||
import pluginsMenu from './menus/plugins';
|
||||
import toolsMenu from './menus/tools';
|
||||
import windowMenu from './menus/window';
|
||||
import helpMenu from './menus/help';
|
||||
import darwinMenu from './menus/darwin';
|
||||
|
|
@ -64,7 +64,7 @@ export const createMenu = (
|
|||
shellMenu(commandKeys, execCommand),
|
||||
editMenu(commandKeys, execCommand),
|
||||
viewMenu(commandKeys, execCommand),
|
||||
pluginsMenu(commandKeys, execCommand),
|
||||
toolsMenu(commandKeys, execCommand),
|
||||
windowMenu(commandKeys, execCommand),
|
||||
helpMenu(commandKeys, showAbout)
|
||||
];
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ export default (
|
|||
execCommand: (command: string, focusedWindow?: BrowserWindow) => void
|
||||
): MenuItemConstructorOptions => {
|
||||
return {
|
||||
label: 'Plugins',
|
||||
label: 'Tools',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Update',
|
||||
label: 'Update plugins',
|
||||
accelerator: commands['plugins:update'],
|
||||
click() {
|
||||
execCommand('plugins:update');
|
||||
Loading…
Reference in a new issue