From 84723248cdaaa0c406ae77866483fb678e6d898c Mon Sep 17 00:00:00 2001 From: ayflying Date: Thu, 30 Oct 2025 19:35:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9B=B4=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E5=8E=8B=E7=BC=A9=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/system/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logic/system/update.go b/internal/logic/system/update.go index 1cc37a7..5dc0db1 100644 --- a/internal/logic/system/update.go +++ b/internal/logic/system/update.go @@ -65,7 +65,7 @@ func (s *sSystem) Update(ctx context.Context, gzFile string) (err error) { gzFile = path.Join("download", platform+".gz") } //结束后删除压缩包 - //defer gfile.RemoveFile(gzFile) + defer gfile.RemoveFile(gzFile) ext := gfile.Ext(gzFile) if ext == ".zip" {