wonfen
41fc13cfe2
fix: format & update
2025-06-21 22:39:12 +08:00
wonfen
e698fe8d18
feat: add cleanup for redundant mihomo processes
2025-06-21 08:13:12 +08:00
wonfen
26acce94a4
feat: add clash_core config validation & auto-fix to default; fixed "No such file or directory (os error 2)"
2025-06-16 20:27:02 +08:00
Tunglies
689042df60
refactor: use Box to store large config objects and add memory usage tests
...
- Refactored config-related structs to use Box for storing large objects (e.g., IRuntime, IProfiles, PrfItem) to reduce stack memory usage and improve performance.
- Updated related methods and assignments to handle Boxed types correctly.
- Added and improved unit tests to compare memory usage between Boxed and non-Boxed config objects, demonstrating the memory efficiency of Box.
- Test output now shows the size difference between stack-allocated and heap-allocated (Box) config objects.
2025-06-06 14:54:48 +08:00
Tunglies
32ebc8d174
refactor: simplify event handling in CoreManager by removing unnecessary match statement
2025-05-20 23:01:32 +08:00
wonfen
861428d3bd
fix: sidecar core log path
2025-05-18 09:58:33 +08:00
Tunglies
00e3f13bc9
fix: profile-view wrong type of http request timeout value
2025-05-18 00:52:59 +08:00
wonfen
305a64c3e3
feat: optimize service initialization logic to fallback to Sidecar mode on installation failure
2025-05-17 19:13:24 +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
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
f6c0f144a6
fix(clippy): clippy warning codes
2025-03-28 11:43:21 +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
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
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
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
wonfen
69347160e9
perf: simplify code logic and improve efficiency
2025-03-23 02:16:06 +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
b57c6e408a
chore: git hooks for linter and formatter
2025-03-13 12:51:20 +08:00
Tunglies
15e54df67c
refactor: streamline clash mode handling and improve API interactions
2025-03-08 22:41:14 +08:00
wonfen
07bdc108ed
feat: show service mode installation prompts in user mode
2025-03-03 14:42:31 +08:00
wonfen
277390e597
feat: Add sidecar mode as an alternative to service mode
...
- Auto-fallback to sidecar mode if service mode fails
2025-03-03 03:34:34 +08:00
wonfen
1cb923b6d8
feat: add exit status check in core config validation
2025-03-01 03:39:13 +08:00
wonfen
a4dd4bcc8a
feat: enhance merge config validation and error handling
2025-02-27 14:49:55 +08:00
wonfen
1258e187f5
feat: improve file type detection for better script recognition
2025-02-26 15:59:19 +08:00
wonfen
4056a4c35f
chore: downgrade Tauri updater plugin and add i18n for core switching
2025-02-26 15:04:47 +08:00
wonfen
b6677f0f72
feat: optimize hotkey behavior and window management logic
2025-02-26 11:03:50 +08:00
wonfen
d54ba48c11
feat: enhance script validation and error handling
2025-02-26 05:21:14 +08:00
wonfen
a5acdc04e3
perf: Improve config validation error messages and handling
2025-02-25 13:47:29 +08:00
wonfen
34f450fcdb
feat: Improve core change configuration validation and error handling
2025-02-24 07:34:03 +08:00
wonfen
1291c38d58
feat: Enhance configuration validation and error handling
...
- Improve config validation process with detailed logging and error tracking
- Add more robust error handling in profile updates and config patches
- Implement comprehensive config validation using clash core subprocess
2025-02-23 10:53:09 +08:00
wonfen
932d36462f
Revert "perf: Improve kernel management logic & add more dev mode logs"
...
This reverts commit ff2cf30238 .
2025-02-15 05:51:46 +08:00
Tunglies
bdb178d893
fix: build front cannot find IvergeConfig.enable_lite_mode and macos port switching causes crash ( #2691 )
...
* fix: macos switch protocol port or enable protocol port causes crash
* fix: build time front cannot find IVergeConfig attribute enable_lite_mode
2025-02-12 18:14:13 -08:00
wonfen
f5760784bf
fix(macos): add missing required dependencies
2025-02-12 15:06:42 +08:00
wonfen
67f3554095
fix: remove unused imports to resolve compile warnings
2025-02-12 14:35:49 +08:00
wonfen
ff2cf30238
perf: Improve kernel management logic & add more dev mode logs
2025-02-09 14:19:15 +08:00
huzibaca
e8ff6c785a
fix: modify the external control access key, the tray rate display is abnormal
2025-01-02 15:27:28 +08:00
huzibaca
97864e8df3
feat: macos system tray addition rate display
2024-12-31 04:42:55 +08:00
huzibaca
9ebd96611a
refactor: logger fetch logic
2024-11-18 05:58:06 +08:00