Daniel Bates 5d4c0cbfb9
Fix #1555: Ensure working directory is prepared when adding new subscription
When adding a new subscription that becomes the current profile with
'diffWorkDir' enabled, 'generateProfile()' was not being called to
prepare the profile's working directory before the core was restarted.

This caused the working directory to be empty and missing necessary
database files (geoip, geosite, etc.), leading to proxies appearing
to work (showing green) but actually failing to function properly.

The fix ensures that when a new profile is added and becomes current
with 'diffWorkDir' enabled, 'generateProfile()' is explicitly called
before 'changeCurrentProfile()' to prepare the working directory.

Co-authored-by: Your Name <your-email@example.com>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-18 11:12:19 +08:00
2026-02-25 19:54:50 +08:00
2025-10-03 21:01:41 +08:00
2025-10-03 21:01:41 +08:00
2024-08-07 09:48:27 +08:00
2024-08-07 09:48:27 +08:00
2024-08-07 09:48:27 +08:00
2026-03-02 11:45:21 +08:00
2024-08-07 09:48:59 +08:00
2026-02-25 19:54:50 +08:00
2026-02-25 19:54:50 +08:00
2024-08-07 09:48:27 +08:00
2025-08-04 18:49:13 +08:00
2025-12-25 15:32:32 +08:00

Another Mihomo GUI

本项目认证稳定机场推荐:“狗狗加速

狗狗加速 —— 技术流机场 Doggygo VPN
  • 高性能海外机场,稳定首选,海外团队,无跑路风险
  • Clash Party专属8折优惠码party仅有500份
  • Party专属链接注册送 3 天,每天 1G 流量 免费试用
  • 优惠套餐每月仅需 15.8 元160G 流量,年付 8 折
  • 全球首家支持Hysteria1/2 协议集群负载均衡设计高速专线基于最新UDP quic技术极低延迟无视晚高峰4K 秒开配合Clash Party食用更省心
  • 解锁流媒体及 ChatGPT
  • 官网:https://狗狗加速.com

特性

  • 一键 Smart Core 规则覆写,基于 AI 模型自动选择最优节点 详细介绍请看 这里
  • 开箱即用,无需服务模式的 Tun
  • 多种配色主题可选UI 焕然一新
  • 支持大部分 Mihomo(Clash Meta) 常用配置修改
  • 内置 Smart内核 与 Mihomo(Clash Meta) 内核
  • 通过 WebDAV 一键备份和恢复配置
  • 强大的覆写功能,任意修订配置文件
  • 深度集成 Sub-Store轻松管理订阅

安装/使用指南见 官方文档

Description
No description provided
Readme GPL-3.0 28 MiB
Languages
TypeScript 93.1%
JavaScript 3.1%
Shell 3.1%
CSS 0.5%
HTML 0.2%