37 Commits

Author SHA1 Message Date
Tunglies
e98ce0c2ae Optimize hotkey management to reduce lock contention and improve performance
- Minimize mutex lock durations in update() by processing data outside critical sections
- Pre-allocate collections to avoid unnecessary reallocations
- Replace forEach-style loops with more efficient for loops
- Add defensive null checks when accessing app_handle
- Improve error handling with more robust Option unwrapping
- Enhance code readability with descriptive comments
2025-03-15 17:52:14 +08:00
Tunglies
b57c6e408a chore: git hooks for linter and formatter 2025-03-13 12:51:20 +08:00
Tunglies
dce1395af1 feat: quiting when enable tun mode no more blocking system network (#2805) 2025-03-01 01:29:23 +08:00
wonfen
b6677f0f72 feat: optimize hotkey behavior and window management logic 2025-02-26 11:03:50 +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
20763a741a fix: app crash without a default global_hotkey vaule 2025-02-11 01:50:48 +08:00
Tunglies
a3d0a38b1e feat: option to enable global hotkey (#2665) 2025-02-09 07:45:22 +08:00
wonfen
8749648d97 fix: restore hotkey functionality after silent startup 2025-02-02 11:37:10 +08:00
huzibaca
c79a7a7f6f chore: remove debug code 2024-11-16 07:35:34 +08:00
huzibaca
1e3c995e6a fix: fixes #1940 2024-11-16 06:08:49 +08:00
huzibaca
3795b537f6 chore: update 2024-10-23 05:48:01 +08:00
huzibaca
8389826e30 chore: try to fix service not started on linux 2024-10-20 04:48:42 +08:00
huzibaca
d1eeeab7b1 chore: remove useless exit codes 2024-09-25 11:47:01 +08:00
huzibaca
f82b0f259c fix: code lint 2024-09-24 20:09:30 +08:00
huzibaca
45b48ede44 refactor: unify and simplify the call of app_handle(2) 2024-09-23 23:15:51 +08:00
huzibaca
1c894f3cfa refactor: unify and simplify the call of app_handle 2024-09-23 16:31:58 +08:00
huzibaca
8bea0db843 fix: exit hotkey conflict 2024-09-18 15:16:43 +08:00
huzibaca
2c612e371f fix: whether the window starts as fullscreen or not. 2024-09-18 13:23:27 +08:00
huzibaca
2f61dc9bc6 chore: revert 2024-09-18 12:24:52 +08:00
huzibaca
95fb4f2e50 fix: the shortcut key to exit cannot be used 2024-09-18 01:41:46 +08:00
huzibaca
f31fe1440d fix: hotkey status not accurately processed, resulting in two triggers 2024-09-17 10:59:39 +08:00
huzibaca
6cc81fe6b8 chore: update 2024-09-02 19:33:17 +08:00
MystiPanda
c698b24e01 chore: update & fmt & clippy 2024-06-12 10:00:22 +08:00
MystiPanda
031c15fd7d chore: Remove unnecessary hotkey 2024-02-27 11:18:52 +08:00
MystiPanda
7bfe0eeae9 feat: Support Open/Close Dashboard Hotkey
#439
2024-02-24 13:39:30 +08:00
MystiPanda
3a883b9e41 refactor: cargo clippy 2024-01-10 17:36:35 +08:00
WhizPanda
8a77f832a3 build: Update Cargo Depends 2023-12-01 15:52:49 +08:00
GyDi
9d29450f47 feat: add Open Dashboard to the hotkey, close #723 2023-09-10 14:46:03 +08:00
GyDi
e7675c29da chore: update deps 2023-05-28 16:45:43 +08:00
GyDi
de3ca6e237 fix: check hotkey and optimize hotkey input, close #287 2022-11-23 17:30:19 +08:00
GyDi
84c12dee80 refactor: wip 2022-11-17 17:07:13 +08:00
GyDi
f5f865a139 refactor: wip 2022-11-16 01:26:41 +08:00
GyDi
837422fbb8 refactor: wip 2022-11-14 01:26:33 +08:00
GyDi
a45c61f19e chore: format rust code 2022-11-12 11:37:23 +08:00
GyDi
186a922d06 refactor(hotkey): use tauri global shortcut 2022-09-23 15:31:01 +08:00
GyDi
9686a7f9bf feat: refresh ui when hotkey clicked 2022-09-18 15:50:03 +08:00
GyDi
09a1915ec6 feat: support hotkey (wip) 2022-09-14 01:19:02 +08:00