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: 改进 Windows 端第三方同步盘检测 https://github.com/siyuan-note/siyuan/issues/7777
Liang Dingd45aceb186e1
diff --git a/kernel/util/runtime.go b/kernel/util/runtime.goindex 358c256d27..e15ccda3b9 100644--- a/kernel/util/runtime.go+++ b/kernel/util/runtime.go@@ -294,6 +294,10 @@ func existAvailabilityStatus(workspaceAbsPath string) bool {return false}+ if !gulu.File.IsExist(workspaceAbsPath) {+ return false+ }+// 改进 Windows 端第三方同步盘检测 https://github.com/siyuan-note/siyuan/issues/7777defer logging.Recover()@@ -303,6 +307,11 @@ func existAvailabilityStatus(workspaceAbsPath string) bool {dataAbsPath := filepath.Join(workspaceAbsPath, "data")dir, file := filepath.Split(dataAbsPath)+ if !gulu.File.IsExist(dataAbsPath) {+ dataAbsPath = workspaceAbsPath+ return false+ }+unknown, err := oleutil.CreateObject("Shell.Application")if nil != err {logging.LogWarnf("create shell application failed: %s", err)