Reorder File menu (#1420)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala authored and GitHub committed 2020-11-18 11:03:38 +02:00
1 parent 04517148c0
commit 126e1ff7a8
1 file changed
+10 -5
+10 -5
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
] ]
}; };