From 542c43d4b5b0e22672cc7ae1dcf6b127d68c2f0e Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 4 Jan 2023 14:27:43 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20`=E4=B8=8A=E4=BC=A0=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=88=B0=E5=9B=BE=E5=BA=8A`=20=E6=AF=8F?= =?UTF-8?q?=E6=AC=A1=E9=83=BD=E5=85=A8=E9=87=8F=E4=B8=8A=E4=BC=A0=E5=88=B7?= =?UTF-8?q?=E6=96=B0=20CDN=20https://github.com/siyuan-note/siyuan/issues/?= =?UTF-8?q?6985?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/conf.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index ad8c22090..00c9a09dc 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -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")