feat: add restart keyboard shortcut

This commit is contained in:
smartfrigde 2024-04-29 11:26:56 +02:00
parent 6a2f05b0d1
commit dbad3ecb0b

View file

@ -42,6 +42,14 @@ export async function setMenu(): Promise<void> {
mainWindow.reload();
}
},
{
label: "Restart",
accelerator: "CmdOrCtrl+Shift+R",
click() {
app.relaunch();
app.exit();
}
},
{
label: "Quit",
accelerator: "CmdOrCtrl+Q",