diff --git a/config/panel.go b/config/panel.go index f17141de38..e4ee25ef92 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 8f5a7717c5..7858abbbaf 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"