1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/release/updatedat.sh
2020-06-20 02:01:45 +08:00

14 lines
331 B
Bash
Executable File

#!/bin/bash
pushd "$GOPATH/src/v2ray.com/core/" || return
# Update geoip.dat
curl -L -o release/config/geoip.dat "https://github.com/v2ray/geoip/raw/release/geoip.dat"
sleep 1
# Update geosite.dat
curl -L -o release/config/geosite.dat "https://github.com/v2ray/domain-list-community/raw/release/dlc.dat"
sleep 1
popd || return