mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
🎨 Improve cloud disk detect
This commit is contained in:
parent
c5b323c391
commit
e92eac7b63
1 changed files with 2 additions and 1 deletions
|
|
@ -291,7 +291,8 @@ func isKnownCloudDrivePath(workspaceAbsPath string) bool {
|
|||
workspaceAbsPathLower := strings.ToLower(workspaceAbsPath)
|
||||
return strings.Contains(workspaceAbsPathLower, "onedrive") || strings.Contains(workspaceAbsPathLower, "dropbox") ||
|
||||
strings.Contains(workspaceAbsPathLower, "google drive") || strings.Contains(workspaceAbsPathLower, "pcloud") ||
|
||||
strings.Contains(workspaceAbsPathLower, "坚果云")
|
||||
strings.Contains(workspaceAbsPathLower, "坚果云") ||
|
||||
strings.Contains(workspaceAbsPathLower, "天翼云")
|
||||
}
|
||||
|
||||
func isICloudPath(workspaceAbsPath string) (ret bool) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue