diff --git a/install.sh b/install.sh index f7e0509..ae23ab3 100644 --- a/install.sh +++ b/install.sh @@ -1802,6 +1802,7 @@ updateGeoSite() { version=$(curl -s https://api.github.com/repos/Loyalsoldier/v2ray-rules-dat/releases | jq -r '.[]|.tag_name' | head -1) echoContent skyBlue "------------------------Version-------------------------------" echo "version:${version}" + rm ${configPath}../geo* >/dev/null wget -c -q --show-progress -P ${configPath}../ "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/${version}/geosite.dat" wget -c -q --show-progress -P ${configPath}../ "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/${version}/geoip.dat" reloadCore @@ -5526,7 +5527,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.7.4" + echoContent green "当前版本:v2.7.5" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus