mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-22 06:45:08 -04:00
Add Quit shortcut back to app (Closes #1446)
This commit is contained in:
1 parent
a53192c229
commit
1092e44fda
1 file changed
+5
-9
@@ -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() },
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user