Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 清理老版本遗留文件

Liang Dingdc34c58fb779
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index ee3e50f902..eae65a00eb 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -766,6 +766,7 @@ func clearWorkspaceTemp() {
// 老版本遗留文件清理
os.RemoveAll(filepath.Join(util.DataDir, "assets", ".siyuan", "assets.json"))
+ os.RemoveAll(filepath.Join(util.DataDir, ".siyuan", "history"))
os.RemoveAll(filepath.Join(util.WorkspaceDir, "backup"))
os.RemoveAll(filepath.Join(util.WorkspaceDir, "sync"))