1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00
v2fly/release/updatedat.sh

14 lines
331 B
Bash
Raw Normal View History

2019-04-16 08:24:15 -04:00
#!/bin/bash
2020-06-19 09:57:03 -04:00
pushd "$GOPATH/src/v2ray.com/core/" || return
2019-04-16 08:24:15 -04:00
# Update geoip.dat
2020-06-19 14:01:45 -04:00
curl -L -o release/config/geoip.dat "https://github.com/v2ray/geoip/raw/release/geoip.dat"
2019-04-16 08:24:15 -04:00
sleep 1
# Update geosite.dat
2020-06-19 14:01:45 -04:00
curl -L -o release/config/geosite.dat "https://github.com/v2ray/domain-list-community/raw/release/dlc.dat"
2019-04-16 08:24:15 -04:00
sleep 1
2020-06-19 09:57:03 -04:00
popd || return