Arvin
|
2de0456ef3
|
Add strict offline asset bundles
|
2026-07-30 17:59:35 +08:00 |
|
Arvin
|
9ac17a58c4
|
Fix systemd boot runtime supervision
|
2026-07-02 17:10:19 +08:00 |
|
Arvin
|
4539f2c7f2
|
Default to GEO predownload
Text Encoding / utf8 (push) Failing after 34s
|
2026-06-25 10:44:06 +08:00 |
|
Arvin
|
b1eb86038a
|
Skip GEO predownload by default
|
2026-06-25 10:34:57 +08:00 |
|
put-go
|
7018217281
|
feat(install): resolve GEO assets via GitHub mirror proxy
mihomo 默认从 raw.githubusercontent.com 下载 GEO 数据库
(https://github.com/MetaCubeX/mihomo/blob/Meta/config/config.go#L570-L575),
在大部分国内网络环境下无法获取,导致启动失败。
复现方式:
cat >/tmp/geosite-test.yaml <<'YAML'
mixed-port: 7890
allow-lan: false
mode: rule
log-level: debug
proxies: []
proxy-groups: []
rules:
- GEOSITE,cn,DIRECT
YAML
/root/clash/runtime/bin/mihomo -t -f /tmp/geosite-test.yaml -d /root/clash/runtime
报错:
INFO Start initial configuration in progress
INFO Geodata Loader mode: memconservative
INFO Geosite Matcher implementation: succinct
INFO Can't find GeoSite.dat, start download
ERRO can't initial GeoSite: can't download GeoSite.dat:
Get "https://release-assets.githubusercontent.com/...": context deadline exceeded
ERRO rules[0] [GEOSITE,cn,DIRECT] error: can't download GeoSite.dat: context deadline exceeded
configuration file /tmp/geosite-test.yaml test failed
新增 resolve_geo_assets 在安装阶段通过 GitHub 镜像池预下载全部 GEO 资产
到 RUNTIME_DIR,避免 mihomo 启动时因网络不通而失败。
资产列表对齐 mihomo GeoXUrl 默认值:
Country.mmdb / geoip.metadb / GeoLite2-ASN.mmdb / GeoIP.dat / GeoSite.dat
- 复用 copy_bundled_asset 优先从 resources/geo/ 复制
- 本地不存在时通过 download_file 走 default_github_mirror_pool 镜像加速
- copy_bundled_asset 增加 $RESOURCE_DIR/$category/$file 搜索路径
|
2026-05-07 17:51:22 +08:00 |
|
put-go
|
e4fd9a60aa
|
Update subconverter release source
|
2026-05-06 12:09:58 +08:00 |
|
Arvin
|
fc2fc000b8
|
fix: preserve subconverter runtime assets required by templates
|
2026-04-14 20:44:49 +08:00 |
|
Arvin
|
c2bfdbc3e9
|
feat: prefer bundled assets for mihomo runtime deps
|
2026-04-13 23:18:57 +08:00 |
|
Arvin
|
e3d81de323
|
fix(openwrt): gate bash alias loading in profile
|
2026-04-12 23:44:09 +08:00 |
|
Arvin
|
b11b3bffef
|
refine clashctl main path UX and runtime config flow
|
2026-04-12 15:59:06 +08:00 |
|
Arvin
|
9025dfb7ff
|
Fix: Converge the clashctl CLI and address issues with subscriptions, UI, and the proxy main link.
|
2026-04-12 09:37:59 +08:00 |
|
Arvin
|
3a8d460de7
|
Add configurable mihomo download source overrides
|
2026-04-09 13:55:05 +08:00 |
|
wnlen
|
bc97b0a2cd
|
refactor: rebuild project architecture and codebase
|
2026-04-08 15:53:52 +08:00 |
|