1
0
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:
Lauri Nevala 2020-11-18 11:03:38 +02:00 committed by GitHub
parent 04517148c0
commit 126e1ff7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,18 +134,23 @@ export function buildMenu(windowManager: WindowManager) {
click() { click() {
navigate(extensionsURL()) navigate(extensionsURL())
} }
}, }
]),
{ type: 'separator' }, { type: 'separator' },
{ {
label: 'Quit', role: 'close',
label: "Close Window"
},
...ignoreOnMac([
{ type: 'separator' },
{
label: 'Exit',
accelerator: 'Alt+F4', accelerator: 'Alt+F4',
click() { click() {
exitApp() exitApp()
} }
} }
]), ])
{ type: 'separator' },
{ role: 'close' } // close current window
] ]
}; };