159 Commits

Author SHA1 Message Date
wonfen
d3958594d9 fix: #2609, avoid URL encoding issues by directly parsing query parameters 2025-04-04 13:50:21 +08:00
wonfen
7b5fd104de fix: #3227, use async operations to avoid blocking on 2025-04-01 12:52:59 +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
wonfen
4a47c5bb6f fix: unused code on non-MacOS platform 2025-03-28 05:58:02 +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
Tunglies
42d0ea7e36 chore: remove unused dependencies and notification plugin from the project 2025-03-27 02:59:48 +08:00
Tunglies
006bcffe8c chore: update rust dependence and remove unused dependence, minimized feature requred 2025-03-27 01:04:43 +08:00
Tunglies
d91653b218 feat: add config log type and improve window logging 2025-03-26 16:43:26 +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
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
b57c6e408a chore: git hooks for linter and formatter 2025-03-13 12:51:20 +08:00
Tunglies
2bcd653a56 feat: update systray creation to use TrayIconBuilder and pass app reference
fix: macos systray duplicated icon
2025-03-12 13:04:15 +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
Tunglies
fdcefe458e fix: windows/linux runtime crash 2025-03-03 02:27:45 +08:00
Tunglies
41c42bba32 fix: macos dock display icon and text (#2818) 2025-03-01 02:29:40 -08:00
wonfen
bb015506e7 Release - 2.1.1 臻fix 2025-02-27 03:18:23 +08:00
wonfen
a489012a0c feat: Add window state monitoring and auto-save in real-time 2025-02-26 00:36:02 +08:00
wonfen
3bb3872e38 refactor: improve hotkey management, logging, and error handling; fix tray freeze and hotkey failure on silent startup 2025-02-12 14:23:42 +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
4cdb5f93b9 fix: turn off window shadow fixer, fixes #2425 2024-12-23 04:36:41 +08:00
huzibaca
fae658c9c2 chore: update 2024-12-15 01:14:16 +08:00
huzibaca
886a469634 fix: fixer #2346 2024-12-14 17:30:58 +08:00
huzibaca
ba18e64be0 chore: deeplink uses the latest API 2024-12-08 15:54:46 +08:00
huzibaca
c1546fdd64 chore: remove debug code 2024-11-28 14:44:13 +08:00
huzibaca
0782b25830 fix: the deadlock caused by incorrect call of window_state due to document error 2024-11-28 12:54:55 +08:00
huzibaca
6df8140cb1 chore: update 2024-11-27 14:27:16 +08:00
wonfen
65b4cb3191 release 2.0.2 2024-11-27 12:41:51 +08:00
huzibaca
e1de481349 chore: update 2024-11-27 11:34:52 +08:00
huzibaca
f91f374dfa chore: update 2024-11-27 07:09:03 +08:00
huzibaca
56f6de5410 fix: linux build failed 2024-11-27 05:54:48 +08:00
wonfen
6e36910734 style: adjust 2024-11-26 12:11:20 +08:00
huzibaca
a553a33c46 chore: remove window title 2024-11-26 10:11:55 +08:00
huzibaca
2a6f8b401b fix: kernel-caused silent mode failure to start windows 2024-11-26 09:00:01 +08:00
huzibaca
fa30567140 chore: update 2024-11-26 05:46:34 +08:00
huzibaca
4a90ffe619 chore: remove notes 2024-11-23 06:47:43 +08:00
huzibaca
18e8357b6a chore: update 2024-11-23 06:42:05 +08:00
huzibaca
df39347b19 fix: restore the window state first, then set the window size 2024-11-23 06:39:25 +08:00
huzibaca
6ba276b43f chore: add debug codes & logs 2024-11-23 05:43:13 +08:00
huzibaca
bb44fc51bd fix: auto launch does not worki 2024-11-20 03:52:19 +08:00
huzibaca
67a32e60c7 chore: update 2024-11-20 01:15:03 +08:00
huzibaca
960725777c fix: exit_app does not work 2024-11-20 01:04:55 +08:00
huzibaca
12df415dfd feat: use tauri_plugin_window_state 2024-10-30 18:52:53 +08:00
huzibaca
f4238b1fb9 feat: use tauri-plugin-persisted-scope 2024-10-30 16:37:47 +08:00
huzibaca
794783ab4e chore: window hide replaces window minimize 2024-10-30 13:51:58 +08:00
huzibaca
74251af163 fix: dns not restored when exiting the app 2024-10-28 00:24:57 +08:00
huzibaca
3baac034e5 chore: update 2024-10-27 06:47:16 +08:00
huzibaca
114f1426f3 feat: macos service installation query, can't avoid it, add service run check, if installation not confirmed, exit automatically after 10 seconds 2024-10-27 06:32:25 +08:00
huzibaca
ecb5f0885c fix: failed to install service on macos 2024-10-23 04:46:47 +08:00
huzibaca
8389826e30 chore: try to fix service not started on linux 2024-10-20 04:48:42 +08:00