diff --git a/gen_assets.sh b/gen_assets.sh index 0a25283..ad4cc02 100644 --- a/gen_assets.sh +++ b/gen_assets.sh @@ -26,6 +26,9 @@ download_dat() { echo "Downloading geosite.dat..." curl -sL https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -o "$DATADIR/geosite.dat" + +echo "Downloading geoip-only-cn-private.dat..." + curl -sL https://raw.githubusercontent.com/Loyalsoldier/geoip/release/geoip-only-cn-private.dat -o "$DATADIR/geoip-only-cn-private.dat" } # Main execution logic diff --git a/libv2ray_main.go b/libv2ray_main.go index fe168a2..906850a 100644 --- a/libv2ray_main.go +++ b/libv2ray_main.go @@ -172,7 +172,7 @@ func MeasureOutboundDelay(ConfigureFileContent string, url string) (int64, error // CheckVersionX returns the library and v2fly versions func CheckVersionX() string { - var version = 31 + var version = 32 return fmt.Sprintf("Lib v%d, V2fly-core v%s", version, core.Version()) }