mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
warp script removed
we don't need it
This commit is contained in:
parent
58c721e7d2
commit
272457740f
49
x-ui.sh
49
x-ui.sh
@ -978,33 +978,6 @@ ssl_cert_issue_CF() {
|
|||||||
fi
|
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() {
|
run_speedtest() {
|
||||||
# Check if Speedtest is already installed
|
# Check if Speedtest is already installed
|
||||||
if ! command -v speedtest &>/dev/null; then
|
if ! command -v speedtest &>/dev/null; then
|
||||||
@ -1349,15 +1322,14 @@ show_menu() {
|
|||||||
${green}18.${plain} SSL Certificate Management
|
${green}18.${plain} SSL Certificate Management
|
||||||
${green}19.${plain} Cloudflare SSL Certificate
|
${green}19.${plain} Cloudflare SSL Certificate
|
||||||
${green}20.${plain} IP Limit Management
|
${green}20.${plain} IP Limit Management
|
||||||
${green}21.${plain} WARP Management
|
${green}21.${plain} Firewall Management
|
||||||
${green}22.${plain} Firewall Management
|
|
||||||
————————————————
|
————————————————
|
||||||
${green}23.${plain} Enable BBR
|
${green}22.${plain} Enable BBR
|
||||||
${green}24.${plain} Update Geo Files
|
${green}23.${plain} Update Geo Files
|
||||||
${green}25.${plain} Speedtest by Ookla
|
${green}24.${plain} Speedtest by Ookla
|
||||||
"
|
"
|
||||||
show_status
|
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
|
case "${num}" in
|
||||||
0)
|
0)
|
||||||
@ -1424,22 +1396,19 @@ show_menu() {
|
|||||||
iplimit_main
|
iplimit_main
|
||||||
;;
|
;;
|
||||||
21)
|
21)
|
||||||
warp_cloudflare
|
|
||||||
;;
|
|
||||||
22)
|
|
||||||
firewall_menu
|
firewall_menu
|
||||||
;;
|
;;
|
||||||
23)
|
22)
|
||||||
bbr_menu
|
bbr_menu
|
||||||
;;
|
;;
|
||||||
24)
|
23)
|
||||||
update_geo
|
update_geo
|
||||||
;;
|
;;
|
||||||
25)
|
24)
|
||||||
run_speedtest
|
run_speedtest
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
LOGE "Please enter the correct number [0-25]"
|
LOGE "Please enter the correct number [0-24]"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user