Skip to content

Commit

Permalink
feat: 发布v2.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jun 8, 2024
1 parent e941ab6 commit 83f58e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/panel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})
}
5 changes: 5 additions & 0 deletions scripts/update_panel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83f58e0

Please sign in to comment.