From e96d95700ae95a2a396b99dc1396ab936432ada0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 25 Oct 2023 02:14:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A0=A1=E9=AA=8C=E5=90=8E=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=20checksums=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/tools/tools.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tools/tools.go b/pkg/tools/tools.go index 027813f77a..d42c2c6c15 100644 --- a/pkg/tools/tools.go +++ b/pkg/tools/tools.go @@ -339,6 +339,7 @@ func UpdatePanel(panelInfo PanelInfo) error { if check != panelInfo.DownloadName+": OK" { return errors.New("下载文件校验失败") } + Remove("/www/panel/" + panelInfo.Checksums) color.Greenln("文件校验完成") color.Greenln("更新新版本...")