179 Commits

Author SHA1 Message Date
xmk23333
7b7333d271 fix: prevent timer leaks and race conditions in config/profile/ssid modules 2026-01-04 16:45:42 +08:00
xmk23333
85f430f188 fix: request admin privileges for DNS settings on macOS 2026-01-01 10:46:13 +08:00
xmk23333
3097019e9e fix: resolve async/null-safety issues in lifecycle, config and ipc modules 2026-01-01 10:33:01 +08:00
xmk23333
9e5d11c3c8 refactor: replace console.log with createLogger in main process 2026-01-01 10:16:49 +08:00
xmk23333
c1f7a862aa refactor: split main process into modules and extract tour logic 2026-01-01 09:35:45 +08:00
xmk23333
3d6d545a93 fix: use atomic update in changeCurrentProfile 2025-12-28 20:18:11 +08:00
xmk23333
fbde5c3f09 fix: ensure consistent current profile id when diffWorkDir enabled 2025-12-28 20:06:26 +08:00
xmk23333
b60c01bb4c fix: resolve event listener memory leaks and add error logging 2025-12-28 19:02:07 +08:00
xmk23333
a159974142 refactor: improve preload security with IPC channel whitelist and fix dependencies 2025-12-28 12:45:07 +08:00
xishang0128
54bb819e28
fix format and lint 2025-12-25 15:32:32 +08:00
Memory
6542be8490
chore: ensure ESLint passes and format code & update changelog.md
* chore: ensure ESLint passes and format code

* chore: update changelog.md
2025-12-13 15:22:32 +08:00
xmk23333
972d2fe946 fix: add missing await keywords and refactor duplicate code 2025-12-08 22:32:14 +08:00
xmk23333
67aa17f6bb fix: add delay to WebSocket reconnection and improve event listener cleanup 2025-12-08 19:43:20 +08:00
e.
47fd7add5f
perf(manager): skip PowerShell profile loading (#1401)
* perf(manager): skip PowerShell profile loading

* perf(manager): skip PowerShell profile loading *2
2025-12-01 07:49:07 +08:00
Memory
583ece0a64
feat: support disabling autoupdate 2025-11-25 22:21:14 +08:00
Memory
4af5cae356
Refactor rule (#1326)
* refactor: enhance prepend/append deletion in rule editor

* fix: Reject empty payload for non-MATCH rules

* More validator

* feat(backup): add rules directory support to local and WebDAV backups
2025-11-01 18:19:07 +08:00
ezequielnick
80b59fc9de refactor: migrate external HTTP requests from Node.js to Chromium network stack
(cherry picked from commit ad96c558a3d46c79848e2c9e469673c7e7f68e25)
2025-10-29 19:37:45 +08:00
Moon
f61072c309
fix: remove envs introduced in v1.7.0 to make Linux TUN work properly (#1283) 2025-10-18 20:46:43 +08:00
ezequielnick
a5a583fdc5 feat: enhance core privilege escalation safety checks 2025-10-16 10:04:53 +08:00
Memory
f488cc3643
perf: reload config without kernel restart 2025-09-29 23:42:40 +08:00
Memory
99a5505d16
feat: launch WebUI directly from subscription manager 2025-09-27 10:00:21 +08:00
Memory
1674bd97ba
opt: faster restartAsAdmin with reduced wait time 2025-09-12 12:32:47 +08:00
ezequielnick
4137f91ccb fix: handle core state errors caused by rapid profile switching 2025-09-09 17:00:04 +08:00
ezequielnick
305210cb96 Merge branch 'socket-man' into smart_core
* socket-man:
  chore: update mac logo
  fix: unexpected lightmode core exit
  Revert "fix: selection loss in light mode"
  refactor: simplify UID handling logic on unix
  fix: missing admin check logs
  style: update macos logo
  style: update app logo
  feat: add socket management
2025-09-07 08:23:26 +08:00
Memory
c8d83f45ac
fix: short-id parsing error 2025-09-06 19:27:00 +08:00
ezequielnick
66a41306d6 fix: unexpected lightmode core exit 2025-09-05 22:37:46 +08:00
ezequielnick
75db218888 Revert "fix: selection loss in light mode"
This reverts commit e176f6db14941c686fdb40f359b1dd039e8b28c2.
2025-09-05 21:54:28 +08:00
ezequielnick
dfbe11deb4 refactor: simplify UID handling logic on unix 2025-09-05 10:47:14 +08:00
ezequielnick
895b74ca3f fix: missing admin check logs 2025-09-04 10:43:46 +08:00
ezequielnick
b53961201f feat: add socket management 2025-09-03 20:39:56 +08:00
Memory
29584d3ba9
Revert "fix: 修复DNS配置和性能优化,解决运行时配置显示问题 (#1094)" (#1097)
This reverts commit 68bbde0d163ca08fe8b709c60b02b726598fb221.
2025-09-03 09:11:33 +08:00
zengql
68bbde0d16
fix: 修复DNS配置和性能优化,解决运行时配置显示问题 (#1094)
- 修复DNS配置相关问题
- 性能优化改进
- 添加mihomoConfigs() API用于获取实时配置
- 修复config-viewer显示log-level总是info的问题
- 优化核心启动流程,使用API轮询替代日志解析
- 重构配置管理,提升启动稳定性

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-02 23:20:51 +08:00
Memory
195306f251
fix: deleted subscriptions reappearing
* chore: udpate download link

* fix: deleted subscriptions reappearing

---------

Co-authored-by: ezequielnick <107352853+ezequielnick@users.noreply.github.com>
2025-08-31 12:54:43 +08:00
Memory
78ec7f9822
opt: tray icon updating 2025-08-27 12:59:28 +08:00
Memory
a57ea34f1b
feat: real-time tray icon color updates based on proxy status (#984)
* feat: real-time tray icon color updates based on proxy status

* Update changelog.md
2025-08-22 12:46:57 +08:00
zengql
d6b88d407c
feat: 修复权限检查并优化TUN与自启联动 (#977)
1. 修复管理员权限检查不准导致TUN无法开启的问题
   - 增加 'fltmc' 命令作为主要判断,'net session' 作为备用,提高在特定环境下的准确性。

2. 优化自启动以自动保持TUN模式开启
   - 设置自启动时,根据当前运行身份决定任务权限。
   - 为TUN模式提权而重启后,若自启已开启,则自动将计划任务更新为管理员权限。
   - 普通权限启动但TUN开启时,主动提示用户需以管理员身份重启。
2025-08-20 20:01:09 +08:00
Memory
e176f6db14
fix: selection loss in light mode 2025-08-17 13:38:49 +08:00
Memory
c506d60e66
feat: support cron in profile update interval (#964) 2025-08-16 19:56:39 +08:00
Memory
a23e23a697
fx: only detect mihomo (#958) 2025-08-15 13:56:59 +08:00
Memory
73068f6544
fix: prevent scientific notation parsing in YAML (#957) 2025-08-15 13:24:44 +08:00
Memory
35f51e1e39
fix: migrate from WMIC to modern APIs and improve privilege checks (#945)
* fix: WMIC is deprecated on windows-latest

* opt: remove WMIC

* fix: correctly detect high-privilege processes
2025-08-14 09:54:54 +08:00
ezequielnick
4997e098ba fix: remove core privilege check on non-windows 2025-08-13 09:44:11 +08:00
ezequielnick
db605f24fc feat: enhance core checks with TUN startup detection and unified popup design 2025-08-12 20:58:01 +08:00
ezequielnick
f005a4f4cd feat: add startup prompt for core permission check 2025-08-12 18:10:54 +08:00
ezequielnick
d030a8722d feat: separate app logs from core logs 2025-08-12 09:07:20 +08:00
ezequielnick
b5ee701530 feat: validate TUN configuration and permission compatibility 2025-08-09 15:43:40 +08:00
ezequielnick
8cfee2f5e5 fix: resolve Windows admin mode restart issue 2025-08-06 22:49:39 +08:00
ezequielnick
b5f6658b72 fix: dns/sniffer override button logic2 2025-08-06 22:24:57 +08:00
ezequielnick
6b93a59616 fix: privilege check and elevation restart logic 2025-08-06 21:41:30 +08:00
ezequielnick
e27ddbd16e feat: request admin privileges when enabling TUN 2025-08-06 20:36:08 +08:00