🐛 更新版本后自动打开最新版的用户指南重复 https://github.com/siyuan-note/siyuan/issues/7517

This commit is contained in:
Liang Ding 2023-03-07 14:58:39 +08:00
parent e8ade79630
commit a43463c7a1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -783,6 +783,8 @@ func clearWorkspaceTemp() {
}
func upgradeUserGuide() {
defer logging.Recover()
dirs, err := os.ReadDir(util.DataDir)
if nil != err {
logging.LogErrorf("read dir [%s] failed: %s", util.DataDir, err)