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

This commit is contained in:
Liang Ding 2023-03-22 19:14:16 +08:00
parent c82e38841c
commit 4cdc96eca7
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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 {