This commit is contained in:
Daniel 2024-01-07 15:27:20 +08:00
parent 69f2eeb625
commit e4cee23592
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 0 additions and 16 deletions

View file

@ -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