Add geoip download and bump lib version
This commit is contained in:
1 parent
d783dc8ea7
commit
c0a0231614
2 files changed
+4
-1
No files matched your search
@@ -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
|
||||
|
||||
+1
-1
@@ -195,7 +195,7 @@ func MeasureOutboundDelay(ConfigureFileContent string, url string) (int64, error
|
||||
|
||||
// CheckVersionX returns the library and Xray versions
|
||||
func CheckVersionX() string {
|
||||
var version = 34
|
||||
var version = 35
|
||||
return fmt.Sprintf("Lib v%d, Xray-core v%s", version, core.Version())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user