chore: mmdb file name

This commit is contained in:
mrFq1 2023-03-08 16:45:42 +08:00
parent 7d96d94977
commit 712d4b9aaa
1 changed files with 3 additions and 3 deletions

View File

@ -21,15 +21,15 @@ cd ..
echo "Pod install"
pod install
echo "delete old files"
rm -f ./ClashX/Resources/Country.mmdb
rm -f ./ClashX/Resources/country.mmdb
rm -f ./ClashX/Resources/geosite.dat
rm -f ./ClashX/Resources/geoip.dat
rm -rf ./ClashX/Resources/dashboard
rm -f GeoLite2-Country.*
echo "install mmdb"
curl -LO https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country.mmdb
gzip Country.mmdb
mv Country.mmdb.gz ./ClashX/Resources/Country.mmdb.gz
gzip country.mmdb
mv country.mmdb.gz ./ClashX/Resources/country.mmdb.gz
echo "install geosite"
curl -LO https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat
gzip geosite.dat