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 on Android
Danield1e6b203e6d9
diff --git a/app/stage/auth.html b/app/stage/auth.htmlindex 5e0fb78fc9..ebd19a3576 100644--- a/app/stage/auth.html+++ b/app/stage/auth.html@@ -423,7 +423,12 @@const {ipcRenderer} = require('electron')ipcRenderer.send('siyuan-quit', window.location.port)} catch (e) {- if ((window.webkit && window.webkit.messageHandlers) || window.JSAndroid || window.JSHarmony) {+ if (window.JSAndroid) {+ window.JSAndroid.exit();+ return;+ }++ if ((window.webkit && window.webkit.messageHandlers) || window.JSHarmony) {window.location.href = 'siyuan://api/system/exit'} else {window.location.reload()