refactor: window handle usage (#4788)

* refactor: Remove unused UI reset function and streamline window creation logic

* refactor: Remove debug print statements and streamline lightweight mode initialization

* fix: Ensure tray status refresh during silent startup and lightweight mode entry is independent of window creation

* refactor: Simplify window creation process and remove debug print statements
This commit is contained in:
Tunglies
2025-09-18 10:22:43 +08:00
committed by GitHub
parent 5d2e114b4d
commit 7848d6b1de
9 changed files with 66 additions and 315 deletions

View File

@@ -3,12 +3,14 @@
### 🚀 性能优化
- 重构并简化服务模式启动检测流程,消除重复检测
- 重构并简化窗口创建流程
### 🐞 修复问题
- 优化服务模式重装逻辑,避免不必要的重复检查
- 修复轻量模式退出无响应的问题
- 修复托盘轻量模式支持退出/进入
- 修复静默启动和自动进入轻量模式时,托盘状态刷新不再依赖窗口创建流程
- macOS Tun/系统代理 模式下图标大小不统一
- 托盘节点切换不再显示隐藏组