mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
This commit is contained in:
parent
7854372a49
commit
062c20a900
1 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue