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:
authorvuong2023 <124447749+vuong2023@users.noreply.github.com>2023-12-19 12:38:37 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-12-19 13:02:34 +0300
commit62ae7aaffa9c025913ad4ff78630afac18af1a10 (patch)
tree6c79b04f04a814d734c2dfc4b996575fe8d42f21 /x-ui.sh
parentc234bbe9e192ef8e09a6a975e31e26df2f6a4db1 (diff)
Added geographical options for Vietnamese people! (#1408)
* Update xray.html Add : Add xray config domain option for Vietnamese people * Update translate.vi_VN.toml Add : Add xray config domain option for Vietnamese people! * Update release.yml Add : add Vietnam country geoip & geosite geodatabase files * Update x-ui.sh add: Added update of Vietnam geoip & geosite geodatabase! * Update xray.html fix :fix code errors * Update xray.html fix: fix code errors * Update web/html/xui/xray.html * Update web/html/xui/xray.html --------- Co-authored-by: Ho3ein <ho3ein.sanaei@gmail.com>
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 51c79cc1..fd411311 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -519,11 +519,13 @@ update_geo() {
systemctl stop x-ui
cd ${binFolder}
- rm -f geoip.dat geosite.dat geoip_IR.dat geosite_IR.dat
+ rm -f geoip.dat geosite.dat geoip_IR.dat geosite_IR.dat geoip_VN.dat geosite_VN.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 -O geoip_IR.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
wget -O geosite_IR.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
+ wget -O geoip_VN.dat https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geoip.dat
+ wget -O geosite_VN.dat https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geosite.dat
systemctl start x-ui
echo -e "${green}Geosite.dat + Geoip.dat + geoip_IR.dat + geosite_IR.dat have been updated successfully in bin folder '${binfolder}'!${plain}"
before_show_menu