mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reorder File menu (#1420)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
04517148c0
commit
126e1ff7a8
@ -134,18 +134,23 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
click() {
|
||||
navigate(extensionsURL())
|
||||
}
|
||||
},
|
||||
}
|
||||
]),
|
||||
{ type: 'separator' },
|
||||
{
|
||||
label: 'Quit',
|
||||
role: 'close',
|
||||
label: "Close Window"
|
||||
},
|
||||
...ignoreOnMac([
|
||||
{ type: 'separator' },
|
||||
{
|
||||
label: 'Exit',
|
||||
accelerator: 'Alt+F4',
|
||||
click() {
|
||||
exitApp()
|
||||
}
|
||||
}
|
||||
]),
|
||||
{ type: 'separator' },
|
||||
{ role: 'close' } // close current window
|
||||
])
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user