🎨 macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
This commit is contained in:
parent
0383124697
commit
dae90dd912
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ func isICloudPath(absPath string) bool {
|
|||
|
||||
// macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
|
||||
|
||||
iCloudRoot := "~/Library/Mobile\\ Documents"
|
||||
iCloudRoot := filepath.Join(HomeDir, "Library", "Mobile Documents")
|
||||
err := filepath.Walk(iCloudRoot, func(path string, info os.FileInfo, err error) error {
|
||||
if nil != err {
|
||||
return err
|
||||
|
|
Loading…
Add table
Reference in a new issue