Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-09-09 10:48:48 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-09 10:48:48 +0300
commit272457740fbc73424a54510f85d772f7c95fd0ea (patch)
tree80db58d415abde09439cc4527cfe333e71e3e726
parent58c721e7d20bb712af0d13dd2334c39fc10dbab0 (diff)
warp script removed
we don't need it
-rw-r--r--x-ui.sh49
1 files changed, 9 insertions, 40 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 2ffb7049..0b6bd331 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -978,33 +978,6 @@ ssl_cert_issue_CF() {
fi
}
-warp_cloudflare() {
- echo -e "${green}\t1.${plain} Install WARP socks5 proxy"
- echo -e "${green}\t2.${plain} Account Type (free, plus, team)"
- echo -e "${green}\t3.${plain} Turn on/off WireProxy"
- echo -e "${green}\t4.${plain} Uninstall WARP"
- echo -e "${green}\t0.${plain} Back to Main Menu"
- read -p "Choose an option: " choice
- case "$choice" in
- 0)
- show_menu
- ;;
- 1)
- bash <(curl -sSL https://raw.githubusercontent.com/hamid-gh98/x-ui-scripts/main/install_warp_proxy.sh)
- ;;
- 2)
- warp a
- ;;
- 3)
- warp y
- ;;
- 4)
- warp u
- ;;
- *) echo "Invalid choice" ;;
- esac
-}
-
run_speedtest() {
# Check if Speedtest is already installed
if ! command -v speedtest &>/dev/null; then
@@ -1349,15 +1322,14 @@ show_menu() {
${green}18.${plain} SSL Certificate Management
${green}19.${plain} Cloudflare SSL Certificate
${green}20.${plain} IP Limit Management
- ${green}21.${plain} WARP Management
- ${green}22.${plain} Firewall Management
+ ${green}21.${plain} Firewall Management
————————————————
- ${green}23.${plain} Enable BBR
- ${green}24.${plain} Update Geo Files
- ${green}25.${plain} Speedtest by Ookla
+ ${green}22.${plain} Enable BBR
+ ${green}23.${plain} Update Geo Files
+ ${green}24.${plain} Speedtest by Ookla
"
show_status
- echo && read -p "Please enter your selection [0-25]: " num
+ echo && read -p "Please enter your selection [0-24]: " num
case "${num}" in
0)
@@ -1424,22 +1396,19 @@ show_menu() {
iplimit_main
;;
21)
- warp_cloudflare
- ;;
- 22)
firewall_menu
;;
- 23)
+ 22)
bbr_menu
;;
- 24)
+ 23)
update_geo
;;
- 25)
+ 24)
run_speedtest
;;
*)
- LOGE "Please enter the correct number [0-25]"
+ LOGE "Please enter the correct number [0-24]"
;;
esac
}