mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 20:31:36 +08:00
🎨 移动端支持重新打开已经移除的工作空间 https://github.com/siyuan-note/siyuan/issues/7353
This commit is contained in:
parent
12611d3bc3
commit
3a24f7bbf8
@ -249,5 +249,6 @@ func isInvalidWorkspacePath(absPath string) bool {
|
|||||||
if 16 < utf8.RuneCountInString(name) {
|
if 16 < utf8.RuneCountInString(name) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return "siyuan" == name || "conf" == name || "home" == name || "data" == name || "temp" == name
|
toLower := strings.ToLower(name)
|
||||||
|
return gulu.Str.Contains(toLower, []string{"conf", "home", "data", "temp"})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user