diff --git a/config/panel.go b/config/panel.go index c84fdf6554..8109762db3 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.3", + "version": "v2.2.4", "ssl": config.Env("APP_SSL", false), }) } diff --git a/scripts/update_panel.sh b/scripts/update_panel.sh index b5675c4c5b..c24f169f6e 100644 --- a/scripts/update_panel.sh +++ b/scripts/update_panel.sh @@ -105,6 +105,11 @@ if version_lt "$oldVersion" "2.2.0"; then echo "更新面板到 v2.2.0 ..." echo "Update panel to v2.2.0 ..." echo "APP_LOCALE=zh_CN" >> $panelPath/panel.conf +fi + +if version_lt "$oldVersion" "2.2.4"; then + echo "更新面板到 v2.2.4 ..." + echo "Update panel to v2.2.4 ..." if [ "${OS}" == "centos" ]; then dnf makecache dnf install -y p7zip p7zip-plugins rsyslog