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: Improve exit
Daniele1aa372f8774
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex aebba43078..9a5d4ff713 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -307,7 +307,8 @@ export const exitSiYuan = async (setCurrentWorkspace = true) => {}if (isInHarmony()) {- window.location.href = "siyuan://api/system/exit";+ window.JSHarmony.exit();+ return;}/// #endif});@@ -363,7 +364,8 @@ export const exitSiYuan = async (setCurrentWorkspace = true) => {}if (isInHarmony()) {- window.location.href = "siyuan://api/system/exit";+ window.JSHarmony.exit();+ return;}/// #endif}