Main Version

This commit is contained in:
Whispering Wind
2024-08-08 20:34:34 +03:30
committed by GitHub
parent 86d53e6213
commit 78e790d2bd

View File

@ -42,7 +42,7 @@ version_greater_equal() {
check_version() { check_version() {
local_version=$(cat /etc/hysteria/VERSION) local_version=$(cat /etc/hysteria/VERSION)
latest_version=$(curl -s https://raw.githubusercontent.com/ReturnFI/Hysteria2/Dev/VERSION) latest_version=$(curl -s https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/VERSION)
if version_greater_equal "$local_version" "$latest_version"; then if version_greater_equal "$local_version" "$latest_version"; then
echo -e "Panel Version: ${cyan}$local_version${NC}" echo -e "Panel Version: ${cyan}$local_version${NC}"