Commit Graph

575 Commits

Author SHA1 Message Date
jawwe a488fc6435 fix dashboard and tun proxy controls 2026-05-22 17:28:42 +08:00
Arvin 54b8387099 Update FUNDING.yml
Text Encoding / utf8 (push) Successful in 21s
2026-05-20 23:55:03 +08:00
Arvin 3bcc9fd1a0 Clarify local proxy takeover status
Text Encoding / utf8 (push) Successful in 1m4s
2026-05-15 15:43:39 +08:00
Arvin 58df80fb02 Merge pull request #255 from put-go/master
Text Encoding / utf8 (push) Successful in 44s
删除密钥和订阅应为空
2026-05-08 20:11:12 +08:00
Arvin 30d426c93e Update .env 2026-05-08 20:07:34 +08:00
put-go e8e45986a8 fix: 修复局域网代理开关持久化
clashctl lan off 原本只更新 config/template.yaml,但运行配置生成流程会在规范化之后继续应用 runtime/mixin.yaml。

如果已有 mixin override 将 allow-lan 设为 true,最终生成的 runtime/config.yaml 会被重新覆盖为 true,导致 mihomo 仍监听局域网地址。

现在将同一个 allow-lan 值同步写入 runtime mixin override,确保 lan on/off 能保留到最终合并后的运行配置。
2026-05-08 12:06:48 +08:00
put-go f4a868f723 del 2026-05-08 11:23:26 +08:00
Arvin 9103b0d8c2 Merge pull request #254 from put-go/master
Text Encoding / utf8 (push) Successful in 22s
feat(install): resolve GEO assets via GitHub mirror proxy
2026-05-08 10:35:41 +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
Arvin f230876fd5 Merge pull request #251 from put-go/master
Text Encoding / utf8 (push) Successful in 1m6s
Update subconverter release source
2026-05-07 12:52:52 +08:00
Arvin 95c13807db Merge pull request #252 from yangtaowillv/feature/add-LAN
feat: add ALLOW-LAN; command: clashctl lan status/on/off
2026-05-07 12:51:19 +08:00
yangtaowillv ea04c4da23 feat: add ALLOW-LAN; command: clashctl lan status/on/off 2026-05-07 11:06:48 +08:00
put-go e4fd9a60aa Update subconverter release source 2026-05-06 12:09:58 +08:00
Arvin bfab0b2939 Merge pull request #243 from Babylonehy/fix/proxy-sh-bugfixes
Text Encoding / utf8 (push) Successful in 31s
fix(proxy): harden strategy group selection
2026-04-30 09:03:45 +08:00
Xiang Li 25bdb43a80 fix(proxy): harden strategy group selection 2026-04-29 22:53:43 +08:00
Arvin 67a5c498af Merge pull request #242 from wnlen/dev
Text Encoding / utf8 (push) Successful in 41s
fix: block unsafe sudo auto install and prevent doctor from rewriting…
2026-04-29 20:35:09 +08:00
wnlen 30f78ebb17 fix: block unsafe sudo auto install and prevent doctor from rewriting env 2026-04-29 17:58:53 +08:00
Arvin 77f3524c83 Merge pull request #241 from wnlen/dev
Text Encoding / utf8 (push) Successful in 35s
optimize: show fixed progress bar for subscription download
2026-04-29 17:33:44 +08:00
wnlen fae7a75f7d optimize: show fixed progress bar for subscription download 2026-04-29 17:33:26 +08:00
Arvin 4b467fd93d Merge pull request #240 from wnlen/dev
fix: clear persistent system proxy during uninstall
2026-04-29 17:19:22 +08:00
Arvin 3dcf11b259 fix: clear persistent system proxy during uninstall 2026-04-29 17:19:05 +08:00
Arvin 54f3d3a524 Merge pull request #239 from wnlen/dev
Dev
2026-04-29 17:07:16 +08:00
wnlen 8be724ce33 optimize: fast enable proxy when runtime is already running 2026-04-29 17:06:59 +08:00
wnlen 42833b3ccb fix: clear system proxy during uninstall 2026-04-29 16:51:45 +08:00
wnlen f1589ee322 optimize: add fast path for already-enabled clashon 2026-04-29 16:49:09 +08:00
Arvin b08c89de6f Merge pull request #238 from wnlen/dev
Dev
2026-04-29 13:18:29 +08:00
wnlen 9ee524f873 fix: report unsupported Tun state for systemd-user backend 2026-04-29 13:18:11 +08:00
wnlen 3d6a523d90 feat: add single-line progress for subscription add flow 2026-04-29 12:02:07 +08:00
wnlen c7e6421b66 fix: Adjust the command prompt 2026-04-29 11:42:40 +08:00
Arvin a8c98c031f Merge pull request #237 from wnlen/dev
Text Encoding / utf8 (push) Successful in 41s
fix: block WSL installs under Windows mount paths
2026-04-29 11:05:48 +08:00
wnlen 8938aaf06e fix: block WSL installs under Windows mount paths 2026-04-29 11:04:57 +08:00
Arvin 26e1dea7ec Merge pull request #233 from wnlen/dev
Text Encoding / utf8 (push) Successful in 48s
fix(ui): restore utf-8 encoding and remove mojibake in select output
2026-04-25 20:12:57 +08:00
Arvin 659ac556be fix(ui): restore utf-8 encoding and remove mojibake in select output 2026-04-25 20:11:07 +08:00
Arvin 5162269633 Merge pull request #231 from wnlen/dev
Dev
2026-04-24 22:25:00 +08:00
Arvin 3b5d059ca6 Merge branch 'master' into dev 2026-04-24 22:24:35 +08:00
Arvin 631cf35354 feat(completion): add bash and zsh completions 2026-04-24 22:23:47 +08:00
Arvin d30411fbc8 improve(tun): clarify docker capability requirements
improve(tun): clarify docker capability requirements
2026-04-24 21:54:42 +08:00
Arvin 24eeddc4ac Update clashctl.sh 2026-04-24 21:53:43 +08:00
Arvin 9f30995430 Merge pull request #228 from wnlen/dev
fix(select): make node selection ignore descriptive entries #214
2026-04-24 17:21:13 +08:00
Arvin 52ee31ab24 fix(select): make node selection ignore descriptive entries 2026-04-24 17:20:15 +08:00
Arvin 2e1e90fd2e Merge pull request #227 from wnlen/dev
fix(select): block manual node picking for auto strategy groups #214
2026-04-24 01:13:43 +08:00
Arvin 2202bbf7c5 fix(select): block manual node picking for auto strategy groups 2026-04-24 01:13:07 +08:00
Arvin 8a2d8cf771 Merge pull request #226 from wnlen/dev
fix(tun): rollback tun state on config sync failure and stage runtime…
2026-04-24 00:03:15 +08:00
Arvin 45a2628807 fix(tun): rollback tun state on config sync failure and stage runtime config apply #223 2026-04-23 23:54:32 +08:00
Arvin f258692cb3 Merge pull request #222 from wnlen/dev
Dev
2026-04-22 15:58:56 +08:00
Arvin 7fff13e507 fix(mixin): move user-writable mixin to runtime and keep legacy compatibility
Migrate mixin to runtime/mixin.yaml with legacy compatibility
2026-04-22 15:57:58 +08:00
Arvin 73d2bc0993 migrate mixin to runtime path with legacy compatibility 2026-04-22 15:57:37 +08:00
Arvin 9a653476de Merge pull request #220 from wnlen/dev #214
Dev
2026-04-22 15:30:13 +08:00
Arvin 5d24e60f69 Merge pull request #219 from wnlen/codex/fix-clashctl-select-interaction-logic-kx5pqi
Only show and operate on manually-selectable proxy groups; add checks/helpers
2026-04-22 15:24:13 +08:00
Arvin cddc46257c Merge branch 'dev' into codex/fix-clashctl-select-interaction-logic-kx5pqi 2026-04-22 15:24:03 +08:00