mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
Conditional menu build fix for window (#1903)
* use speard for menu building
This commit is contained in:
parent
b609366d76
commit
ca849425ac
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ const darwinMenu = require('./menus/darwin');
|
||||||
module.exports = (createWindow, updatePlugins) => {
|
module.exports = (createWindow, updatePlugins) => {
|
||||||
const commands = getKeymaps().commands;
|
const commands = getKeymaps().commands;
|
||||||
const menu = [
|
const menu = [
|
||||||
(process.platform === 'darwin' ? darwinMenu(commands) : []),
|
...(process.platform === 'darwin' ? [darwinMenu(commands)] : []),
|
||||||
shellMenu(commands, createWindow),
|
shellMenu(commands, createWindow),
|
||||||
editMenu(commands),
|
editMenu(commands),
|
||||||
viewMenu(commands),
|
viewMenu(commands),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue