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

This commit is contained in:
Liang Ding 2023-03-22 19:21:01 +08:00
parent fd38d4e1f0
commit 0383124697
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -261,7 +261,7 @@ func isICloudPath(absPath string) bool {
// macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
iCloudRoot := "~/Library/Mobile Documents"
iCloudRoot := "~/Library/Mobile\\ Documents"
err := filepath.Walk(iCloudRoot, func(path string, info os.FileInfo, err error) error {
if nil != err {
return err