From 2cce6046e538b13663a4f2a5cf7b7c7341f2ccaf Mon Sep 17 00:00:00 2001 From: MapleCool <37971849+pmkol@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:21:27 +0800 Subject: [PATCH] mihomo: update pre-download rules --- openwrt/scripts/10-customize-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/scripts/10-customize-config.sh b/openwrt/scripts/10-customize-config.sh index d1829585c..43e024040 100644 --- a/openwrt/scripts/10-customize-config.sh +++ b/openwrt/scripts/10-customize-config.sh @@ -7,7 +7,7 @@ git clone https://$github/pmkol/openwrt-mihomo package/new/openwrt-mihomo if curl -s "https://$mirror/openwrt/23-config-common" | grep -q "^CONFIG_PACKAGE_luci-app-mihomo=y"; then mkdir -p files/etc/mihomo/run/ui curl -Lso files/etc/mihomo/run/geoip.metadb https://$github/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.metadb - curl -Lso files/etc/mihomo/run/ASN.mmdb https://$github/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb + curl -Lso files/etc/mihomo/run/ASN.mmdb https://$github/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb' curl -Lso metacubexd-gh-pages.tar.gz https://$github/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.tar.gz tar zxf metacubexd-gh-pages.tar.gz rm metacubexd-gh-pages.tar.gz