Curl main branch

This commit is contained in:
Whispering Wind
2024-12-15 11:59:51 +03:30
committed by GitHub
parent b62397c941
commit 869ea25b71

View File

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