mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 19:02:54 +00:00
Compare commits
2 commits
c7e9018e71
...
6b6818efa4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b6818efa4 | ||
|
|
0430fa8350 |
3 changed files with 0 additions and 24 deletions
|
|
@ -42,7 +42,6 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- docker-proxy
|
- docker-proxy
|
||||||
environment:
|
environment:
|
||||||
ENABLE_CRON_UPDATE: "true"
|
|
||||||
TZ: "UTC"
|
TZ: "UTC"
|
||||||
DOCKER_PROXY_URL: "http://docker-proxy:2375"
|
DOCKER_PROXY_URL: "http://docker-proxy:2375"
|
||||||
TARGET_CONTAINER_NAME: "3xui_app"
|
TARGET_CONTAINER_NAME: "3xui_app"
|
||||||
|
|
|
||||||
|
|
@ -128,8 +128,6 @@ install_xray_core() {
|
||||||
rm "Xray-linux-${ARCH}.zip"
|
rm "Xray-linux-${ARCH}.zip"
|
||||||
}
|
}
|
||||||
|
|
||||||
# --- dispatcher: вызываем функции по имени ТОЛЬКО если скрипт запущен как файл ---
|
|
||||||
# Предполагаем, что файл называется xray-updates.sh
|
|
||||||
if [ "${0##*/}" = "xray-tools.sh" ]; then
|
if [ "${0##*/}" = "xray-tools.sh" ]; then
|
||||||
cmd="$1"
|
cmd="$1"
|
||||||
shift || true
|
shift || true
|
||||||
|
|
|
||||||
21
x-ui.sh
21
x-ui.sh
|
|
@ -865,27 +865,6 @@ delete_ports() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
#update_all_geofiles() {
|
|
||||||
# update_main_geofiles
|
|
||||||
# update_ir_geofiles
|
|
||||||
# update_ru_geofiles
|
|
||||||
#}
|
|
||||||
#
|
|
||||||
#update_main_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
|
|
||||||
#}
|
|
||||||
#
|
|
||||||
#update_ir_geofiles() {
|
|
||||||
# wget -O geoip_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
|
|
||||||
# wget -O geosite_IR.dat https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
|
|
||||||
#}
|
|
||||||
#
|
|
||||||
#update_ru_geofiles() {
|
|
||||||
# wget -O geoip_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geoip.dat
|
|
||||||
# wget -O geosite_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat
|
|
||||||
#}
|
|
||||||
|
|
||||||
update_geo() {
|
update_geo() {
|
||||||
echo -e "${green}\t1.${plain} Loyalsoldier (geoip.dat, geosite.dat)"
|
echo -e "${green}\t1.${plain} Loyalsoldier (geoip.dat, geosite.dat)"
|
||||||
echo -e "${green}\t2.${plain} chocolate4u (geoip_IR.dat, geosite_IR.dat)"
|
echo -e "${green}\t2.${plain} chocolate4u (geoip_IR.dat, geosite_IR.dat)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue