Skip to content

Commit

Permalink
Update preset-mihomo-core.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanranran committed Feb 10, 2025
1 parent efb7536 commit 997fa98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/preset-mihomo-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
# Author: LovinYarn
# github: https://github.com/xuanranran
#=================================================
mkdir -p files/etc/mihomo/run/ui
mkdir -p files/etc/nikki/run/ui

GEOIP_URL="https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.dat"
GEOSITE_URL="https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
GEOIP_METADB_URL="https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.metadb"
ASN_MMDB_URL="https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb"

wget -qO- $GEOIP_URL > files/etc/mihomo/run/GeoIP.dat
wget -qO- $GEOSITE_URL > files/etc/mihomo/run/GeoSite.dat
wget -qO- $GEOIP_METADB_URL > files/etc/mihomo/run/geoip.metadb
wget -qO- $ASN_MMDB_URL > files/etc/mihomo/run/ASN.mmdb
wget -qO- $GEOIP_URL > files/etc/nikki/run/GeoIP.dat
wget -qO- $GEOSITE_URL > files/etc/nikki/run/GeoSite.dat
wget -qO- $GEOIP_METADB_URL > files/etc/nikki/run/geoip.metadb
wget -qO- $ASN_MMDB_URL > files/etc/nikki/run/ASN.mmdb

0 comments on commit 997fa98

Please sign in to comment.