mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 23:36:10 +01:00
🎨 Improve New document save location https://github.com/siyuan-note/siyuan/issues/10094
This commit is contained in:
parent
69f2eeb625
commit
e4cee23592
4 changed files with 0 additions and 16 deletions
|
|
@ -208,10 +208,6 @@ func InitConf() {
|
|||
if "../" == Conf.FileTree.DocCreateSavePath {
|
||||
Conf.FileTree.DocCreateSavePath = "../Untitled"
|
||||
}
|
||||
for strings.HasSuffix(Conf.FileTree.DocCreateSavePath, "/") {
|
||||
Conf.FileTree.DocCreateSavePath = strings.TrimSuffix(Conf.FileTree.DocCreateSavePath, "/")
|
||||
Conf.FileTree.DocCreateSavePath = strings.TrimSpace(Conf.FileTree.DocCreateSavePath)
|
||||
}
|
||||
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave
|
||||
|
||||
util.CurrentCloudRegion = Conf.CloudRegion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue