|
@@ -675,6 +675,7 @@ func clearWorkspaceTemp() {
|
|
|
os.RemoveAll(filepath.Join(util.TempDir, "import"))
|
|
|
os.RemoveAll(filepath.Join(util.TempDir, "repo"))
|
|
|
os.RemoveAll(filepath.Join(util.TempDir, "os"))
|
|
|
+ os.RemoveAll(filepath.Join(util.DataDir, "assets", ".siyuan", "assets.json"))
|
|
|
|
|
|
// 退出时自动删除超过 7 天的安装包 https://github.com/siyuan-note/siyuan/issues/6128
|
|
|
install := filepath.Join(util.TempDir, "install")
|