mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 移动端支持多工作空间 Fix https://github.com/siyuan-note/siyuan/issues/4642
This commit is contained in:
parent
ab7c3d302a
commit
0fb04830db
1 changed files with 3 additions and 0 deletions
|
|
@ -227,6 +227,9 @@ func isInvalidWorkspacePath(absPath string) bool {
|
|||
if "" == name {
|
||||
return true
|
||||
}
|
||||
if strings.HasPrefix(name, ".") {
|
||||
return true
|
||||
}
|
||||
if !gulu.File.IsValidFilename(name) {
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue