mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Alert users when .sy file or database .json exceed 8MB https://github.com/siyuan-note/siyuan/issues/15451
This commit is contained in:
parent
f3cc641005
commit
eb13c34fe5
22 changed files with 98 additions and 15 deletions
|
|
@ -218,6 +218,10 @@ func InitConf() {
|
|||
Conf.FileTree.DocCreateSavePath = util.TrimSpaceInPath(Conf.FileTree.DocCreateSavePath)
|
||||
Conf.FileTree.RefCreateSavePath = util.TrimSpaceInPath(Conf.FileTree.RefCreateSavePath)
|
||||
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave
|
||||
if 2 > Conf.FileTree.LargeFileWarningSize {
|
||||
Conf.FileTree.LargeFileWarningSize = 8
|
||||
}
|
||||
util.LargeFileWarningSize = Conf.FileTree.LargeFileWarningSize
|
||||
|
||||
util.CurrentCloudRegion = Conf.CloudRegion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue