* refactor: replace handle::Handle::get_window() with WindowManager::get_main_window() in multiple files
* refactor: enhance WindowManager to return window state alongside the main window instance
* refactor: update useProfiles and ProfilePage to support profile overrides and improve patchProfilesConfig return type
* refactor: enhance handle_success to check main window existence before notifying profile changes
* refactor: simplify get_main_window_with_state by using pattern matching and improve window state handling
* refactor: fix window activation by removing unnecessary reference in activate_existing_main_window
* refactor: remove redundant macOS conditional for window_manager import
* fix: enhance error reporting during service installation
* fix: correct variable name in install_service function for clarity
* fix(windows): improve output handling in install_service function
* feat(limiter): add Limiter struct with clock interface and tests
* feat(limiter): integrate Limiter into tray and window management for rate limiting
* fix(tray, window_manager): update debounce timing for tray click and window operations
* refactor(limiter): change time representation from u64 to u128 for improved precision
* fix: resolve issue with tray operations after system resume
* Revert "refactor(limiter): change time representation from u64 to u128 for improved precision"
This reverts commit 2198f40f7fcecbb755deb38af005c28e993db970.
* fix(Linux): add GID environment variable for Linux service installation #6159
* chore: bump clash_verge_service_ipc to 2.1.2
* chore: remove CLASH_VERGE_SERVICE_GID for linux
---------
Co-authored-by: Sline <realakayuki@gmail.com>
* perf: improve config processing
* perf: enhance profile reordering logic and adjust logging level
* perf: add PartialEq derive to PrfSelected and PrfExtra structs for improved comparison
* perf: refactor PrfOption merge logic and streamline update_item method in IProfiles
* perf: simplify current_mapping and profiles_preview methods in IProfiles for improved readability
* perf: optimize filename matching logic in IProfiles by using a static regex
* fix: update service to 2.1.0 and improve service installation for Unix systems
* fix: set GID environment variable during service installation on Linux
* Revert "fix: set GID environment variable during service installation on Linux"
This reverts commit 373aec579b6d9983ee151be55b69eee0284e4154.
* fix(tray): retry tray creation with delay on Windows
* fix(tray): retry tray creation with delay on Windows
* chore(windows): remove redundant 3s delay from autostart task
* chore(windows): remove redundant 3s delay from autostart task