Arvin
|
2de0456ef3
|
Add strict offline asset bundles
|
2026-07-30 17:59:35 +08:00 |
|
Arvin
|
3be0915a71
|
Make clash the primary CLI command
|
2026-07-30 17:25:15 +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 |
|
wnlen
|
30f78ebb17
|
fix: block unsafe sudo auto install and prevent doctor from rewriting env
|
2026-04-29 17:58:53 +08:00 |
|
wnlen
|
8938aaf06e
|
fix: block WSL installs under Windows mount paths
|
2026-04-29 11:04:57 +08:00 |
|
Arvin
|
631cf35354
|
feat(completion): add bash and zsh completions
|
2026-04-24 22:23:47 +08:00 |
|
Arvin
|
a9e58429ef
|
fix: persist install subscription only after successful config generation
|
2026-04-14 23:18:25 +08:00 |
|
Arvin
|
ee5fc58ac5
|
refactor(config): use download_file for HTTP(S) subscription downloads
|
2026-04-14 11:59:29 +08:00 |
|
Arvin
|
497a7f3d8f
|
Add OpenWrt script-mode compatibility
|
2026-04-12 20:45:22 +08:00 |
|
Arvin
|
77b454d6b6
|
feat: refine install flow, TUN experience, and command UX
|
2026-04-12 18:24:35 +08:00 |
|
Arvin
|
b11b3bffef
|
refine clashctl main path UX and runtime config flow
|
2026-04-12 15:59:06 +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 |
|
Arvin
|
69e4d8bc36
|
Some configurations
|
2026-03-24 18:36:44 +08:00 |
|
Arvin
|
4ff890a70b
|
Update install.sh
|
2026-03-23 22:52:54 +08:00 |
|
Arvin
|
8a36171795
|
Update install.sh
|
2026-03-23 01:19:38 +08:00 |
|
Arvin
|
cfb8688dbe
|
Update install.sh
|
2026-03-23 01:17:40 +08:00 |
|
Arvin
|
e013d7c1cd
|
Update install.sh
|
2026-03-23 01:11:20 +08:00 |
|
Arvin
|
445cb636f4
|
Update install.sh
|
2026-03-23 01:09:10 +08:00 |
|
Arvin
|
f285de678a
|
Update install.sh
|
2026-03-23 01:06:18 +08:00 |
|
Arvin
|
b14e997fb1
|
Update install.sh
|
2026-03-23 00:59:32 +08:00 |
|
Arvin
|
1f8253136c
|
Update install.sh
|
2026-03-22 23:57:57 +08:00 |
|
Arvin
|
3831d146b6
|
Update install.sh
|
2026-03-22 23:36:24 +08:00 |
|
Arvin
|
f0c60f3ea9
|
Update install.sh
|
2026-03-22 23:25:57 +08:00 |
|
Arvin
|
e57696305b
|
Update install.sh
|
2026-03-22 23:23:57 +08:00 |
|
Arvin
|
14f6442ca1
|
Update install.sh
|
2026-03-22 23:23:46 +08:00 |
|
Arvin
|
dc5eec0925
|
Update install.sh
|
2026-03-22 23:22:42 +08:00 |
|
Arvin
|
2055ef1153
|
Update install.sh
|
2026-03-22 23:21:38 +08:00 |
|
Arvin
|
d9ad465615
|
Update install.sh
|
2026-03-22 23:21:11 +08:00 |
|
Arvin
|
f285d774f7
|
Update install.sh
|
2026-03-22 23:17:46 +08:00 |
|
Arvin
|
0ff8d95a18
|
Update install.sh
|
2026-03-22 23:13:16 +08:00 |
|
Arvin
|
6ff650a6ac
|
Update install.sh
|
2026-03-22 23:04:57 +08:00 |
|
Arvin
|
351e1f2a30
|
Update install.sh
|
2026-03-22 23:03:41 +08:00 |
|
Arvin
|
cf248bbac6
|
Update install.sh
|
2026-03-22 23:02:35 +08:00 |
|
Arvin
|
b43029f293
|
Update install.sh
|
2026-03-22 22:45:06 +08:00 |
|
Arvin
|
e8cf82b7db
|
Update install.sh
|
2026-03-22 22:44:03 +08:00 |
|
Arvin
|
ed37832e6c
|
Update install.sh
|
2026-03-22 22:35:45 +08:00 |
|
Arvin
|
3b2b7a88ff
|
Update install.sh
|
2026-03-22 22:29:03 +08:00 |
|
Arvin
|
0d09fef59c
|
Update install.sh
|
2026-03-22 22:18:48 +08:00 |
|
Arvin
|
037935368d
|
Update install.sh
|
2026-03-22 22:12:04 +08:00 |
|
Arvin
|
74d02e7327
|
Update install.sh
|
2026-03-22 22:08:31 +08:00 |
|
Arvin
|
0b271d42a3
|
Update install.sh
|
2026-03-22 20:56:59 +08:00 |
|
Arvin
|
a643dcfdb7
|
Update install.sh
|
2026-03-22 20:42:09 +08:00 |
|
Arvin
|
f0b158f0d0
|
feat(ui): make summary box width adaptive and center title
|
2026-03-22 20:38:04 +08:00 |
|
Arvin
|
89a98760b6
|
refactor(cli): simplify status output and unify UI style
|
2026-03-22 19:57:17 +08:00 |
|
Arvin
|
38a4093a15
|
Update install.sh
|
2026-03-22 16:30:01 +08:00 |
|
Arvin
|
a1b6606ddf
|
Update install.sh
|
2026-03-22 16:10:15 +08:00 |
|
Arvin
|
82a80cb47b
|
Update install.sh
|
2026-03-22 15:58:45 +08:00 |
|
Arvin
|
da1968e72e
|
Update install.sh
|
2026-03-22 15:53:30 +08:00 |
|
Arvin
|
3409147455
|
Update install.sh
|
2026-03-22 11:24:49 +08:00 |
|