Tunglies
7fa1767645
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
a7f66c3d65
chore: git hooks for linter and formatter
2025-03-13 12:51:20 +08:00
Tunglies
39d811cc62
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
9d74b93ee0
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
d370868222
fix: windows/linux runtime crash
2025-03-03 02:27:45 +08:00
Tunglies
f5f54c0f0e
fix: macos dock display icon and text ( #2818 )
2025-03-01 02:29:40 -08:00
wonfen
2ce43ccd23
Release - 2.1.1 臻fix
2025-02-27 03:18:23 +08:00
wonfen
7696504d97
feat: Add window state monitoring and auto-save in real-time
2025-02-26 00:36:02 +08:00
wonfen
ac07397818
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
fb4032d6ce
fix: modify the external control access key, the tray rate display is abnormal
2025-01-02 15:27:28 +08:00
huzibaca
fb41c915cc
feat: macos system tray addition rate display
2024-12-31 04:42:55 +08:00
huzibaca
4f6ca40811
fix: turn off window shadow fixer, fixes #2425
2024-12-23 04:36:41 +08:00
huzibaca
47848099be
chore: update
2024-12-15 01:14:16 +08:00
huzibaca
f839d3bc88
fix: fixer #2346
2024-12-14 17:30:58 +08:00
huzibaca
aa18c4870d
chore: deeplink uses the latest API
2024-12-08 15:54:46 +08:00
huzibaca
fe0fdc5603
chore: remove debug code
2024-11-28 14:44:13 +08:00
huzibaca
f772f92b88
fix: the deadlock caused by incorrect call of window_state due to document error
2024-11-28 12:54:55 +08:00
huzibaca
59c52199e3
chore: update
2024-11-27 14:27:16 +08:00
wonfen
148def4c0f
release 2.0.2
2024-11-27 12:41:51 +08:00
huzibaca
3177ea0f4d
chore: update
2024-11-27 11:34:52 +08:00
huzibaca
373c8ec0e5
chore: update
2024-11-27 07:09:03 +08:00
huzibaca
7df5ca1912
fix: linux build failed
2024-11-27 05:54:48 +08:00
wonfen
564d81fd31
style: adjust
2024-11-26 12:11:20 +08:00
huzibaca
f8b7b82ba9
chore: remove window title
2024-11-26 10:11:55 +08:00
huzibaca
71cb2a97c0
fix: kernel-caused silent mode failure to start windows
2024-11-26 09:00:01 +08:00
huzibaca
1cc6472002
chore: update
2024-11-26 05:46:34 +08:00
huzibaca
f2b1b88242
chore: remove notes
2024-11-23 06:47:43 +08:00
huzibaca
4163ee484c
chore: update
2024-11-23 06:42:05 +08:00
huzibaca
a14c3f81b0
fix: restore the window state first, then set the window size
2024-11-23 06:39:25 +08:00
huzibaca
03d714f2d4
chore: add debug codes & logs
2024-11-23 05:43:13 +08:00
huzibaca
708e5d1941
fix: auto launch does not worki
2024-11-20 03:52:19 +08:00
huzibaca
8773117e50
chore: update
2024-11-20 01:15:03 +08:00
huzibaca
8840e63c1c
fix: exit_app does not work
2024-11-20 01:04:55 +08:00
huzibaca
08bf70681c
feat: use tauri_plugin_window_state
2024-10-30 18:52:53 +08:00
huzibaca
c5916cf5ec
feat: use tauri-plugin-persisted-scope
2024-10-30 16:37:47 +08:00
huzibaca
4213a5fad1
chore: window hide replaces window minimize
2024-10-30 13:51:58 +08:00
huzibaca
a127cd6444
fix: dns not restored when exiting the app
2024-10-28 00:24:57 +08:00
huzibaca
db11651f85
chore: update
2024-10-27 06:47:16 +08:00
huzibaca
4ce7d9f7a9
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
da8ed1ac5a
fix: failed to install service on macos
2024-10-23 04:46:47 +08:00
huzibaca
ee78b7898b
chore: try to fix service not started on linux
2024-10-20 04:48:42 +08:00
huzibaca
3f3fad0db7
feat: Modify startup logic and install services by default
2024-10-10 00:34:36 +08:00
huzibaca
30c77b891d
chore: update
2024-10-09 01:14:03 +08:00
huzibaca
0541a0c69f
refactor: tun mode is turned on and off, does not depend on services, and does not affect other configurations
2024-10-05 22:45:59 +08:00
huzibaca
6b902a7ad8
chore: update
2024-10-04 05:27:59 +08:00
huzibaca
335578dd91
refactor: simplify sysproxy logic
...
1. close all proxies directly when reset_proxy
2. init_sysproxy and update_sysproxy combined into one
3. optimize lock usage
4 ptimize the thread loop of guard_sysproxy,
2024-10-03 01:31:37 +08:00
huzibaca
c50e8f9de8
refactor: logic optimization
2024-09-27 00:24:05 +08:00
huzibaca
a3465d292c
refactor: unify and simplify the call of app_handle(2)
2024-09-23 23:15:51 +08:00
huzibaca
60e0f972d0
refactor: unify and simplify the call of app_handle
2024-09-23 16:31:58 +08:00
huzibaca
bfded924d7
chore: rename method
2024-09-22 20:29:43 +08:00