From e9c3e5965816d5de57125c1f462cd9c8a85db7bc Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Sat, 28 Dec 2024 23:10:00 +0330 Subject: [PATCH] Added update geo (menu) --- menu.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/menu.sh b/menu.sh index 19b57a1..b75cd5c 100644 --- a/menu.sh +++ b/menu.sh @@ -707,9 +707,10 @@ display_advance_menu() { echo -e "${cyan}[9] ${NC}↝ Change SNI Hysteria2" echo -e "${cyan}[10] ${NC}↝ Manage OBFS" echo -e "${cyan}[11] ${NC}↝ Change IPs(4-6)" - echo -e "${cyan}[12] ${NC}↝ Restart Hysteria2" - echo -e "${cyan}[13] ${NC}↝ Update Core Hysteria2" - echo -e "${red}[14] ${NC}↝ Uninstall Hysteria2" + echo -e "${cyan}[12] ${NC}↝ Update geo Files" + echo -e "${cyan}[13] ${NC}↝ Restart Hysteria2" + echo -e "${cyan}[14] ${NC}↝ Update Core Hysteria2" + echo -e "${red}[15] ${NC}↝ Uninstall Hysteria2" echo -e "${red}[0] ${NC}↝ Back to Main Menu" echo -e "${LPurple}◇──────────────────────────────────────────────────────────────────────◇${NC}" echo -ne "${yellow}➜ Enter your option: ${NC}" @@ -734,9 +735,10 @@ advance_menu() { 9) hysteria2_change_sni_handler ;; 10) obfs_handler ;; 11) edit_ips ;; - 12) python3 $CLI_PATH restart-hysteria2 ;; - 13) python3 $CLI_PATH update-hysteria2 ;; - 14) python3 $CLI_PATH uninstall-hysteria2 ;; + 12) python3 $CLI_PATH update-geo ;; + 13) python3 $CLI_PATH restart-hysteria2 ;; + 14) python3 $CLI_PATH update-hysteria2 ;; + 15) python3 $CLI_PATH uninstall-hysteria2 ;; 0) return ;; *) echo "Invalid option. Please try again." ;; esac @@ -744,7 +746,6 @@ advance_menu() { read -rp "Press Enter to continue..." done } - # Main function to run the script define_colors main_menu