mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
🎨 macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
This commit is contained in:
parent
3826741cf1
commit
7639e4b808
1 changed files with 0 additions and 4 deletions
|
|
@ -263,10 +263,6 @@ func isICloudPath(absPath string) bool {
|
||||||
|
|
||||||
iCloudRoot := filepath.Join(HomeDir, "Library", "Mobile Documents")
|
iCloudRoot := filepath.Join(HomeDir, "Library", "Mobile Documents")
|
||||||
err := WalkWithSymlinks(iCloudRoot, func(path string, info os.FileInfo, err error) error {
|
err := WalkWithSymlinks(iCloudRoot, func(path string, info os.FileInfo, err error) error {
|
||||||
if nil != err {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
logging.LogInfof("path: %s", path)
|
logging.LogInfof("path: %s", path)
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue