Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747

Liang Ding062c20a90049
diff --git a/kernel/util/runtime.go b/kernel/util/runtime.go
index ec2dbb86da..a63d90e37d 100644
--- a/kernel/util/runtime.go
+++ b/kernel/util/runtime.go
@@ -259,6 +259,8 @@ func isICloudPath(absPath string) bool {
return false
}
+ // macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
+
iCloudRoot := "~/Library/Mobile Documents"
err := filepath.Walk(iCloudRoot, func(path string, info os.FileInfo, err error) error {
if nil != err {