mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28: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) => {
|
||||
const commands = getKeymaps().commands;
|
||||
const menu = [
|
||||
(process.platform === 'darwin' ? darwinMenu(commands) : []),
|
||||
...(process.platform === 'darwin' ? [darwinMenu(commands)] : []),
|
||||
shellMenu(commands, createWindow),
|
||||
editMenu(commands),
|
||||
viewMenu(commands),
|
||||
|
|
|
|||
Loading…
Reference in a new issue