Add Quit shortcut back to app (Closes #1446)

This commit is contained in:
Gregory Schier 2019-12-13 16:26:37 -05:00
parent a53192c229
commit 1092e44fda

View File

@ -133,15 +133,11 @@ export function createWindow() {
misc.clickLink(`${CHANGELOG_BASE_URL}/${getAppVersion()}/`);
},
},
...(isMac()
? [
{ type: 'separator' },
{ role: 'hide' },
{ role: 'hideothers' },
{ type: 'separator' },
{ label: `${MNEMONIC_SYM}Quit`, accelerator: 'CmdOrCtrl+Q', click: () => app.quit() },
]
: []),
{ type: 'separator' },
{ role: 'hide' },
{ role: 'hideothers' },
{ type: 'separator' },
{ label: `${MNEMONIC_SYM}Quit`, accelerator: 'CmdOrCtrl+Q', click: () => app.quit() },
],
};