mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
feat: add restart keyboard shortcut
This commit is contained in:
parent
6a2f05b0d1
commit
dbad3ecb0b
1 changed files with 8 additions and 0 deletions
|
@ -42,6 +42,14 @@ export async function setMenu(): Promise<void> {
|
||||||
mainWindow.reload();
|
mainWindow.reload();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "Restart",
|
||||||
|
accelerator: "CmdOrCtrl+Shift+R",
|
||||||
|
click() {
|
||||||
|
app.relaunch();
|
||||||
|
app.exit();
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "Quit",
|
label: "Quit",
|
||||||
accelerator: "CmdOrCtrl+Q",
|
accelerator: "CmdOrCtrl+Q",
|
||||||
|
|
Loading…
Reference in a new issue