text fixes

This commit is contained in:
fgsfds 2025-11-06 21:14:11 +05:00
parent 949735c849
commit b3642215d3
No known key found for this signature in database
GPG key ID: 264C1B9113012917

View file

@ -863,7 +863,7 @@ delete_ports() {
fi
}
update_all_geo() {
update_all_geofiles() {
wget -O geoip.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
wget -O geosite.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
wget -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
@ -908,7 +908,7 @@ update_geo() {
restart
;;
4)
update_all_geo
update_all_geofiles
echo -e "${green}All geo files have been updated successfully!${plain}"
restart
@ -1884,7 +1884,7 @@ show_usage() {
${blue}x-ui log${plain} - Check logs │
${blue}x-ui banlog${plain} - Check Fail2ban ban logs │
${blue}x-ui update${plain} - Update │
${blue}x-ui update-all-geofiles${plain} - Update GEO files
${blue}x-ui update-all-geofiles${plain} - Update all geo files
${blue}x-ui legacy${plain} - Legacy version │
${blue}x-ui install${plain} - Install │
${blue}x-ui uninstall${plain} - Uninstall │
@ -2059,7 +2059,7 @@ if [[ $# > 0 ]]; then
check_install 0 && uninstall 0
;;
"update-all-geofiles")
check_install 0 && update_all_geo 0 && restart 0
check_install 0 && update_all_geofiles 0 && restart 0
;;
*) show_usage ;;
esac