From 73298abf93548e3ba26903b43fb30dc0409c2386 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Sun, 15 Dec 2024 11:56:49 +0330 Subject: [PATCH] Added changelog --- core/scripts/utils.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/scripts/utils.sh b/core/scripts/utils.sh index ef1d5be..85bb63b 100644 --- a/core/scripts/utils.sh +++ b/core/scripts/utils.sh @@ -42,14 +42,15 @@ 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) if version_greater_equal "$local_version" "$latest_version"; then echo -e "Panel Version: ${cyan}$local_version${NC}" else echo -e "Panel Version: ${cyan}$local_version${NC}" echo -e "Latest Version: ${cyan}$latest_version${NC}" - echo -e "${red}Please update your panel.${NC}" - echo -e "${cyan}Bug squashing party!${yellow} Update for the best invitation.${NC}" + echo -e "${yellow}$latest_version Version Change Log:${NC}" + echo -e "${cyan}$latest_changelog ${NC}" fi }