mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Remove legacy incorrect history data
This commit is contained in:
parent
be67ffa288
commit
16dd27d656
1 changed files with 1 additions and 0 deletions
|
|
@ -986,6 +986,7 @@ func clearWorkspaceTemp() {
|
||||||
os.RemoveAll(filepath.Join(util.DataDir, ".siyuan", "history"))
|
os.RemoveAll(filepath.Join(util.DataDir, ".siyuan", "history"))
|
||||||
os.RemoveAll(filepath.Join(util.WorkspaceDir, "backup"))
|
os.RemoveAll(filepath.Join(util.WorkspaceDir, "backup"))
|
||||||
os.RemoveAll(filepath.Join(util.WorkspaceDir, "sync"))
|
os.RemoveAll(filepath.Join(util.WorkspaceDir, "sync"))
|
||||||
|
os.RemoveAll(filepath.Join(util.DataDir, "%")) // v3.0.6 生成的错误历史文件夹
|
||||||
|
|
||||||
logging.LogInfof("cleared workspace temp")
|
logging.LogInfof("cleared workspace temp")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue