mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
🎨 macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
This commit is contained in:
parent
c8ae0a360f
commit
3f9d32d6ff
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