An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/10938
Vanessa93785e922149
diff --git a/app/electron/main.js b/app/electron/main.jsindex acc66a135b..e644462ca0 100644--- a/app/electron/main.js+++ b/app/electron/main.js@@ -793,7 +793,9 @@ app.whenReady().then(() => {event.sender.openDevTools({mode: "bottom"});break;case "unregisterGlobalShortcut":- globalShortcut.unregister(hotKey2Electron(data.accelerator));+ if (data.accelerator) {+ globalShortcut.unregister(hotKey2Electron(data.accelerator));+ }break;case "show":if (!currentWindow) {