mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28: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 viewMenu from './menus/view';
|
||||||
import shellMenu from './menus/shell';
|
import shellMenu from './menus/shell';
|
||||||
import editMenu from './menus/edit';
|
import editMenu from './menus/edit';
|
||||||
import pluginsMenu from './menus/plugins';
|
import toolsMenu from './menus/tools';
|
||||||
import windowMenu from './menus/window';
|
import windowMenu from './menus/window';
|
||||||
import helpMenu from './menus/help';
|
import helpMenu from './menus/help';
|
||||||
import darwinMenu from './menus/darwin';
|
import darwinMenu from './menus/darwin';
|
||||||
|
|
@ -64,7 +64,7 @@ export const createMenu = (
|
||||||
shellMenu(commandKeys, execCommand),
|
shellMenu(commandKeys, execCommand),
|
||||||
editMenu(commandKeys, execCommand),
|
editMenu(commandKeys, execCommand),
|
||||||
viewMenu(commandKeys, execCommand),
|
viewMenu(commandKeys, execCommand),
|
||||||
pluginsMenu(commandKeys, execCommand),
|
toolsMenu(commandKeys, execCommand),
|
||||||
windowMenu(commandKeys, execCommand),
|
windowMenu(commandKeys, execCommand),
|
||||||
helpMenu(commandKeys, showAbout)
|
helpMenu(commandKeys, showAbout)
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ export default (
|
||||||
execCommand: (command: string, focusedWindow?: BrowserWindow) => void
|
execCommand: (command: string, focusedWindow?: BrowserWindow) => void
|
||||||
): MenuItemConstructorOptions => {
|
): MenuItemConstructorOptions => {
|
||||||
return {
|
return {
|
||||||
label: 'Plugins',
|
label: 'Tools',
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Update',
|
label: 'Update plugins',
|
||||||
accelerator: commands['plugins:update'],
|
accelerator: commands['plugins:update'],
|
||||||
click() {
|
click() {
|
||||||
execCommand('plugins:update');
|
execCommand('plugins:update');
|
||||||
Loading…
Reference in a new issue