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
e27a32395a
refactor: restructure DNS setting logic
2025-03-08 11:25:00 +08:00
Tunglies
805b54d81e
Update dependencies and refactor encryption logic
...
Updates multiple dependencies to their latest versions in Cargo.lock and Cargo.toml.
Refactors encryption logic to use updated getrandom API.
Improves tray speed rate display by using ab_glyph for font rendering.
2025-03-06 18:56:31 +08:00
Tunglies
a18efb0e71
fix: speed format runns by docs
2025-03-03 11:36:21 +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
cee9be81bf
chore: Add macOS-specific test for format_bytes_speed function
2025-02-17 03:10:03 +08:00
wonfen
932d36462f
Revert "perf: Improve kernel management logic & add more dev mode logs"
...
This reverts commit ff2cf30238bcb5211f9b78e5fe65531e359d8d89.
2025-02-15 05:51:46 +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
wonfen
ff2cf30238
perf: Improve kernel management logic & add more dev mode logs
2025-02-09 14:19:15 +08:00
huzibaca
d0d5204cbc
fix: fix: try to fix the language pack issue(2)
2025-01-13 17:09:38 +08:00
huzibaca
d2f51ce509
fix: try to fix the language pack issue
2025-01-12 22:22:06 +08:00
huzibaca
146a66fb09
Merge branch 'languagefixes' into dev
...
# Conflicts:
# src-tauri/Cargo.lock
# src-tauri/Cargo.toml
# src-tauri/src/core/tray/mod.rs
2025-01-11 15:07:30 +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
ad335ba005
fix: unused code
2024-12-31 08:08:52 +08:00
huzibaca
04d766884a
fix: syntax issues
2024-12-31 04:50:12 +08:00
huzibaca
97864e8df3
feat: macos system tray addition rate display
2024-12-31 04:42:55 +08:00
blagodaren
a527177b67
fix: add more lang and lang fix for tray
2024-12-28 10:05:30 +03:00
blagodaren
9c027b10b2
fix: add system language sup
2024-12-28 08:12:46 +03: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
a1f2a621ef
fix: resource file initialization failed
2024-12-01 09:38:29 +08:00
huzibaca
d33d90a36e
chore: update
2024-11-30 10:38:15 +08:00
huzibaca
50285aebde
feat: user uploaded icons can use templates, provided they are monochrome icons fixer #2213
2024-11-30 09:49:43 +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
243f685b83
refactor: Implement using third-party libraries
2024-11-26 04:51:19 +08:00
huzibaca
6cf2373b34
chore: update
2024-11-26 03:30:15 +08:00
huzibaca
c5d009c2cd
feat: try to use vscode first, if not found then use system default app
2024-11-24 08:20:00 +08:00
huzibaca
8cdc33beab
fix: windows cannot open yaml file
2024-11-23 19:46:53 +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