Use @Loyalsoldier/geoip

This commit is contained in:
Hellojack
2022-05-29 13:09:05 +08:00
committed by GitHub
parent bfc806b71e
commit 4b68b363f7

View File

@@ -29,6 +29,8 @@ if ( Test-Path -Path $OutputPath ) {
}
New-Item -ItemType Directory -Name $OutputPath | Out-Null
wget -Uri 'https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb' -OutFile '..\Storage\GeoLite2-Country.mmdb'
Push-Location $OutputPath
New-Item -ItemType Directory -Name 'bin' | Out-Null
cp -Recurse -Force '..\Storage\i18n' '.' | Out-Null