Skip to content

Commit

Permalink
feat: 发布v2.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jun 10, 2024
1 parent b9b3b9f commit d7a79fa
Show file tree
Hide file tree
Showing 2 changed files with 9 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.5",
"version": "v2.2.6",
"ssl": config.Env("APP_SSL", false),
})
}
8 changes: 8 additions & 0 deletions scripts/update_panel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit d7a79fa

Please sign in to comment.