mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Add Quit shortcut back to app (Closes #1446)
This commit is contained in:
parent
a53192c229
commit
1092e44fda
@ -133,15 +133,11 @@ export function createWindow() {
|
|||||||
misc.clickLink(`${CHANGELOG_BASE_URL}/${getAppVersion()}/`);
|
misc.clickLink(`${CHANGELOG_BASE_URL}/${getAppVersion()}/`);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
...(isMac()
|
{ type: 'separator' },
|
||||||
? [
|
{ role: 'hide' },
|
||||||
{ type: 'separator' },
|
{ role: 'hideothers' },
|
||||||
{ role: 'hide' },
|
{ type: 'separator' },
|
||||||
{ role: 'hideothers' },
|
{ label: `${MNEMONIC_SYM}Quit`, accelerator: 'CmdOrCtrl+Q', click: () => app.quit() },
|
||||||
{ type: 'separator' },
|
|
||||||
{ label: `${MNEMONIC_SYM}Quit`, accelerator: 'CmdOrCtrl+Q', click: () => app.quit() },
|
|
||||||
]
|
|
||||||
: []),
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user