From d7a79fa53e665451f66ea6ec0dbc8f2dc38aaa8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Tue, 11 Jun 2024 02:07:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=91=E5=B8=83v2.2.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/panel.go | 2 +- scripts/update_panel.sh | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/panel.go b/config/panel.go index f17141de..e4ee25ef 100644 --- a/config/panel.go +++ b/config/panel.go @@ -8,7 +8,7 @@ func init() { config := facades.Config() config.Add("panel", map[string]any{ "name": "耗子 Linux 面板", - "version": "v2.2.5", + "version": "v2.2.6", "ssl": config.Env("APP_SSL", false), }) } diff --git a/scripts/update_panel.sh b/scripts/update_panel.sh index 8f5a7717..7858abbb 100644 --- a/scripts/update_panel.sh +++ b/scripts/update_panel.sh @@ -106,6 +106,14 @@ if version_lt "$oldVersion" "2.2.4"; then fi fi +if version_lt "$oldVersion" "2.2.6"; then + echo "更新面板到 v2.2.6 ..." + echo "Update panel to v2.2.6 ..." + if [ -f "/usr/bin/podman" ]; then + panel writePlugin podman 4.0.0 + fi +fi + echo $HR echo "更新结束" echo "Update finished"