diff --git a/README.md b/README.md index 6e300e5..87b50d9 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ or ``` # curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh +# curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh ``` ## 使用 @@ -68,6 +69,12 @@ or # bash install-release.sh ``` +### 安裝最新發行的 geoip.dat 和 geosite.dat + +``` +# bash install-dat-release.sh +``` + ### 移除 V2Ray ``` diff --git a/install-dat-release.sh b/install-dat-release.sh index 3ba134c..d05a7af 100644 --- a/install-dat-release.sh +++ b/install-dat-release.sh @@ -5,7 +5,13 @@ # https://github.com/v2ray/geoip # https://github.com/v2ray/domain-list-community -# Need cURL, please solve it by yourself +# Depends on cURL, please solve it yourself + +# You may plan to execute this Bash script regularly: + +# install -m 755 install-dat-release.sh /usr/local/bin/install-dat-release + +# 0 0 * * * /usr/local/bin/install-dat-release > /dev/null 2>&1 V2RAY="/usr/local/lib/v2ray/" DOWNLOAD_LINK_GEOIP="https://github.com/v2ray/geoip/releases/latest/download/geoip.dat"