2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 12:40:25 +08:00

feat: 发布v2.2.6

This commit is contained in:
耗子
2024-06-11 02:07:52 +08:00
parent b9b3b9fedf
commit d7a79fa53e
2 changed files with 9 additions and 1 deletions

View File

@@ -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),
})
}

View File

@@ -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"