From 062c20a900492713c2561b8ff7120fb9f5426dcd Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 22 Mar 2023 19:14:16 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20macOS=20=E7=AB=AF=E5=AF=B9=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E7=A9=BA=E9=97=B4=E6=94=BE=E7=BD=AE=E5=9C=A8=20iCloud?= =?UTF-8?q?=20=E8=B7=AF=E5=BE=84=E4=B8=8B=E5=81=9A=E6=A3=80=E6=9F=A5=20htt?= =?UTF-8?q?ps://github.com/siyuan-note/siyuan/issues/7747?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/util/runtime.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/util/runtime.go b/kernel/util/runtime.go index ec2dbb86d..a63d90e37 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 {