diff --git a/ui/main.cjs b/ui/main.cjs index 8140b14..f47dc12 100644 --- a/ui/main.cjs +++ b/ui/main.cjs @@ -50,6 +50,9 @@ const createWindow = () => { app.whenReady().then(() => { createWindow(); + globalShortcut.register(vars.keys.exit.join(" + "), () => { + stop(); + }); }); /** @type {null|{ id: number, process: ReturnType, title: string }} */