Tunglies
0de304d4e3
Fix and Optimize
...
fix : #3187 and #3096 , silent startup can not trigger lightweight mode
fix: optimize startup initializing processing
2025-04-05 10:28:27 +08:00
Tunglies
55f1766ebc
Change logging level from info to debug for hotkeys
2025-04-05 09:19:44 +08:00
wonfen
b5952f320b
fix : #3244 , remove test directory, simplify resource initialization
2025-04-04 13:18:17 +08:00
Tunglies
937f43c270
fix: unable to switch subscribtion profile
2025-03-30 12:53:16 +08:00
wonfen
1bd503a654
feat: add error prompt for initial config loading to prevent switching to invalid subscription
2025-03-30 10:56:30 +08:00
Tunglies
4831d88467
rm(lightweight): unused logging
2025-03-29 13:05:58 +08:00
Tunglies
9ebde802d4
Update alpha workflow to trigger on src directory changes
2025-03-29 12:35:49 +08:00
Tunglies
5a2751162f
fix(linux): can not connect to mihomo core
2025-03-28 19:39:11 +08:00
Tunglies
f6c0f144a6
fix(clippy): clippy warning codes
2025-03-28 11:43:21 +08:00
Tunglies
e8e16f7d57
refactor(logging): replace log_err! with structured logging_error! calls
...
refactor(cm-service): better error handling from Backend to Frontend
2025-03-28 03:39:34 +08:00
wonfen
59caa22431
feat: enhance service startup logic with user preference-based sidecar fallback
2025-03-28 03:20:13 +08:00
Tunglies
e2046f3e48
refact(profile+core): replace println with logging! macros for structured logging
2025-03-28 01:48:55 +08:00
Tunglies
8fdcffc731
refactor(CoreManager) combine duplicated logical
2025-03-28 00:58:34 +08:00
Tunglies
b09313756e
refactor: optimize total width calculation and format bytes speed function
2025-03-27 20:45:51 +08:00
Tunglies
7716e2bc87
rm: unused trait filed
2025-03-27 12:14:27 +08:00
Tunglies
70bd5ec03c
refactor: simplify tray icon handling and update return types for icon functions
...
fix: custom tray icon with speedrate display large gap
2025-03-27 12:04:52 +08:00
Tunglies
ce5c86c3b0
fix: load custom tray icon failed due to #2886
2025-03-27 11:12:08 +08:00
Tunglies
a6a6d9d036
feat: initial and restart core checks service version if available
...
chore: update UPDATELOG.md
2025-03-27 09:20:15 +08:00
Tunglies
6e40dd9862
fix: tray icon and tray rate display expression logic bug
2025-03-26 19:07:09 +08:00
Tunglies
42db9ea0bb
chore: enable pre-commit for Rust formatting, pre-push for Rust linter check
2025-03-26 18:59:31 +08:00
Tunglies
ca0cf4552c
add: RunningMode Display implementation and TypeScript enum
2025-03-26 17:01:48 +08:00
Tunglies
d91653b218
feat: add config log type and improve window logging
2025-03-26 16:43:26 +08:00
Tunglies
81968a579d
feat: reorganize service commands and implement logging for service management
2025-03-26 15:02:08 +08:00
Tunglies
98d3a48710
refactor: replace println with logging in core validation and tray quit function
2025-03-26 04:31:38 +08:00
Tunglies
0ec4f46052
chore: better install service prompt translation
2025-03-26 03:44:30 +08:00
Tunglies
14347f60d5
Refactor hotkey logging with structured logging macro
2025-03-26 01:18:28 +08:00
Tunglies
df5424d55e
feat: add logging module and update running mode terminology
2025-03-25 23:05:09 +08:00
wonfen
e054ac67fb
feat: improve mihomo core and service keep-alive and reinstallation logic
2025-03-25 06:41:00 +08:00
wonfen
cf78bb3686
refactor: service reinstallation logic on detection failure
2025-03-25 00:51:38 +08:00
Tunglies
09f6917638
fix: update lightweight mode implementation and fix MacOS dock icon visibility
2025-03-24 19:16:21 +08:00
Tunglies
e330d75a89
fix: correct spelling of "Lightweight" in tray menu
2025-03-24 18:54:39 +08:00
wonfen
a2811c4803
chore: update required service version
2025-03-24 03:59:55 +08:00
Tunglies
1a7c076e07
feat: add option to enable/disable tray icon display on MacOS
2025-03-23 16:37:27 +08:00
Tunglies
da4fddf150
chore: remove unused import
2025-03-23 14:28:28 +08:00
Tunglies
d669650758
feat: add lightweight mode entry and related hotkey support
2025-03-23 03:10:48 +08:00
wonfen
69347160e9
perf: simplify code logic and improve efficiency
2025-03-23 02:16:06 +08:00
wonfen
a345b54a77
chore: update required service version
2025-03-23 00:16:32 +08:00
Tunglies
8aabcd77a5
feat: enhance tray icon handling with caching and speed rate rendering
2025-03-22 23:00:45 +08:00
Tunglies
1d88d98ea1
feat: ensure Mihomo and Verge services are running before executing commands
2025-03-22 17:05:42 +08:00
wonfen
86f69fd574
feat: add singleton check after core startup in sidecar mode
2025-03-22 15:01:55 +08:00
Tunglies
2a92755e65
fix: linux hanlding mihomo-core and verge-service communication
2025-03-22 04:51:38 +08:00
Tunglies
84a5cf6b89
feat(hotkey): macos support CMD+W to close window as default
2025-03-20 13:02:26 +08:00
Tunglies
1b249564a3
fix: update service response check for correct status code and message
2025-03-20 06:18:14 +08:00
Tunglies
81b5501b0e
feat: implement auto lightweight mode timer functionality
...
This commit implements the automatic lightweight mode feature with timer functionality:
- Rename configuration properties from auto_enter_lite_mode to enable_auto_light_weight_mode and auto_enter_lite_mode_delay to auto_light_weight_minutes for better clarity
- Add window event listeners to detect when window is closed or gets focus
- Implement timer system to automatically enter lightweight mode after configured time
- Remove exit_lightweight_mode function as it's no longer needed with the new implementation
- Update UI components to reflect the new property names
- Add logging for lightweight mode operations
- Initialize lightweight mode based on user configuration at startup
The feature now allows users to set a timer that will automatically enter lightweight mode
after closing the main window, which can be cancelled by focusing the window again.
2025-03-20 06:01:38 +08:00
Tunglies
91ccb3045c
feat: implement lightweight mode functionality and update related settings
2025-03-20 03:23:14 +08:00
Tunglies
ad45485009
fix: hotkeys on windows crash
2025-03-19 18:41:26 +08:00
Tunglies
772ecdd3b0
refactor: improve proxy retrieval and add window destruction method
2025-03-19 02:04:01 +08:00
wonfen
530669d288
fix: auto launch
2025-03-17 13:51:52 +08:00
wonfen
6239f81f36
feat: sync auto-start status
2025-03-17 09:48:44 +08:00
Tunglies
36142656a4
refactor(timer): improve timer management with robust error handling
...
This commit improves the timer management system with the following enhancements:
Replace Mutex with RwLock for better read concurrency in timer state
Add structured TimerTask type to store task metadata
Use atomic boolean for initialization flag instead of mutex
Implement comprehensive error handling with detailed logging
Add rollback capability when task operations fail
Reduce lock contention by generating task diffs outside locks
Add timing metrics for task execution
Improve code organization and documentation
2025-03-15 18:58:12 +08:00