|
@@ -522,6 +522,8 @@ update_geo() {
|
|
rm -f geoip.dat geosite.dat iran.dat
|
|
rm -f geoip.dat geosite.dat iran.dat
|
|
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
|
|
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
|
|
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
|
|
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
|
|
|
|
+ wget -O geoip_ch.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
|
|
|
|
+ wget -O geosite_ch.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
|
|
wget -N https://github.com/MasterKia/iran-hosted-domains/releases/latest/download/iran.dat
|
|
wget -N https://github.com/MasterKia/iran-hosted-domains/releases/latest/download/iran.dat
|
|
systemctl start x-ui
|
|
systemctl start x-ui
|
|
echo -e "${green}Geosite.dat + Geoip.dat + Iran.dat have been updated successfully in bin folder '${binfolder}'!${plain}"
|
|
echo -e "${green}Geosite.dat + Geoip.dat + Iran.dat have been updated successfully in bin folder '${binfolder}'!${plain}"
|