89 Commits

Author SHA1 Message Date
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
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
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
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
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
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
a23e23a697
fx: only detect mihomo (#958) 2025-08-15 13:56:59 +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
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
ezequielnick
5c1d30b454 feat: remove enforced admin mode requirement 2025-08-06 18:34:59 +08:00
ezequielnick
0a064bdbb8 fix: windows first startup issue 2025-08-06 10:46:21 +08:00
ezequielnick
866cdb4661 feat: optimize and improve subscription switching 2025-08-04 18:49:13 +08:00
ezequielnick
46aa654ee3 feat: add smart core & one-click smart 2025-08-04 18:49:07 +08:00
Xia Wanxu
1a5c001dbd fix: synchronization issue with gist after mihomo core 1.19.8 update (#780)
Co-authored-by: 2045gemini <2045gemini@gmail.com>

感谢!

(cherry picked from commit f168adb68f917e0214064498efcac347c448672e)
2025-06-11 21:49:46 +08:00
miwu04
b15fc6ce3a refactor: replace password-based sudo with pkexec for improved security 2025-04-13 00:19:00 +08:00
Amamiya Miu
6ffcf544b8
fix: Fix missing window at startup due to mihomo core error (#601)
感谢PR!
2025-03-22 23:36:01 +08:00
ezequielnick
a187bc7362 feat: add more core settings 2025-02-08 03:29:12 +08:00
pompurin404
f2a4049f6c chore: add missing i18n strings and UI adjustments 2025-02-04 13:27:25 +08:00
pompurin404
fddb641945
change default priority 2024-11-14 22:35:07 +08:00
pompurin404
13f8705dc6
fix setPriority 2024-11-14 22:14:25 +08:00
pompurin404
5bafb7ccc1
support set core priority 2024-11-14 21:15:04 +08:00
pompurin404
94cc2f59c8
catch core panic log 2024-11-11 11:39:23 +08:00
pompurin404
d731c21804
catch error 2024-10-18 11:20:16 +08:00
pompurin404
2164aa7520
add postinstall for macOS 2024-10-16 17:43:34 +08:00
pompurin404
2705bba00f
try to remove password storage logic 2024-10-16 11:52:17 +08:00
pompurin404
dcb59e767c
auto pin global group 2024-10-14 23:51:40 +08:00
pompurin404
65149c33da
fix link error and add switch for specify work directory 2024-10-12 21:32:04 +08:00
pompurin404
43115d1da4
specify work directory for each profile 2024-10-12 20:06:33 +08:00
pompurin404
3e8755621a
set external controller at core launch 2024-10-09 18:30:07 +08:00
pompurin404
1f2eee133b
support show traffic on taskbar 2024-10-09 18:30:03 +08:00
pompurin404
46486d75c9
rm grant logic for unix socket 2024-10-09 18:30:03 +08:00
pompurin404
c420f0397c
use unix socket and namedpipe instead of http api 2024-10-09 18:30:02 +08:00