diff --git a/src/main.ts b/src/main.ts index 2c0e90a..3dfe422 100644 --- a/src/main.ts +++ b/src/main.ts @@ -916,7 +916,7 @@ async function boot(): Promise { void onFileDrop((content) => newDoc(content)); - await registerHotkey(null, settings.hotkey); + if (!(await registerHotkey(null, settings.hotkey))) toast(t("hotkeyFailed")); if (settings.autostart) await applyAutostart(true); if (settings.alwaysOnTop) await applyAlwaysOnTop(true); void onAppQuit(() => flushAppData());