Commit Graph

168 Commits

Author SHA1 Message Date
BTMuli
cc3655a700 🌱 监听&获取文本缩放
#192
2025-12-29 21:15:52 +08:00
BTMuli
cfea47f11c 🌱 尝试引入Sentry进行分析 2025-12-29 19:56:00 +08:00
BTMuli
7013f2ea18 🐛 修复 wcag-color 无法对比 keyword 导致的渲染异常 2025-12-26 14:23:01 +08:00
BTMuli
5b896e9e56 🚀 v0.9.0 2025-12-20 16:55:47 +08:00
BTMuli
3c4ff261fd ⬆️ 更新依赖 2025-12-18 23:58:06 +08:00
Copilot
7544fa1489 支持托盘 (#181)
* Initial plan

* Add system tray icon feature with show/quit menu

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Apply Rust code formatting

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Address code review feedback: improve documentation and reduce duplication

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Make tray behavior configurable - add closeToTray setting

- Add closeToTray setting in app store (default: false)
- Add UI toggle in PageConfig.vue for "关闭到托盘" setting
- Modify window close handler to emit event instead of always hiding
- Add hide_main_window and quit_app commands in backend
- Frontend listens for close event and respects user preference
- When closeToTray is enabled, window minimizes to tray on close
- When disabled, application quits on close (original behavior)

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Remove duplicate SUB_WINDOW_LABELS constant - use shared constant from lib.rs

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix tray icon issues: remove duplicate tray, add icon loading, close sub-windows on hide

1. Remove duplicate tray icon: Removed trayIcon config from tauri.conf.json (was creating 2 trays)
2. Add proper icon loading: Use image crate to decode PNG and create RGBA icon data
3. Close sub-windows when hiding: Modified hide_main_window to close all sub-windows before hiding
4. Sync with master branch: Merged latest commit c8fe03c

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Address code review: remove anyhow, add separator, improve comments

1. Remove anyhow dependency - Use Tauri's InvalidIcon error instead
2. Add menu separator between "显示窗口" and "退出应用"
3. Add comment explaining image crate necessity (Tauri Image only accepts raw RGBA)
4. Keep HTTPS URLs with note about SSH preference for local development
5. Image crate remains necessary as Tauri doesn't provide PNG decoding

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Revert to SSH URLs for plugin dependencies as requested

Changed all tauri-plugin git URLs from HTTPS to SSH format.
Project CI has SSH configuration, so SSH is the preferred method.

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Use storeToRefs for closeToTray property

Changed closeToTray access to use storeToRefs in both App.vue and PageConfig.vue
for better reactivity and consistency with other store properties.

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>
2025-12-14 14:30:15 +08:00
BTMuli
dc03edd30b 🚀 v0.8.8 2025-12-03 20:30:48 +08:00
BTMuli
0f107abde6 🐛 重构管理员权限重启逻辑 2025-12-03 19:58:03 +08:00
BTMuli
676ef8e8ee 🚀 v0.8.7 2025-12-03 10:24:27 +08:00
BTMuli
9e359b9621 ⬆️ 更新依赖 2025-12-02 21:59:24 +08:00
BTMuli
b267599039 🐛 修复重启异常 2025-12-02 11:37:37 +08:00
BTMuli
2d1890645d 🚨 修复编译器异常,移除多余依赖 2025-12-02 00:37:00 +08:00
BTMuli
14c47369e7 🌱 尝试检测管理员&以管理员模式重启 2025-12-02 00:37:00 +08:00
BTMuli
93cca5f715 🌱 初步建立pipe&成功调用dll 2025-12-02 00:37:00 +08:00
BTMuli
2ab31d8f5c 🚀 v0.8.6 2025-11-19 14:09:48 +08:00
BTMuli
942068faea 🚀 v0.8.5 2025-11-10 16:34:14 +08:00
BTMuli
0f0f7684d2 🍱 更新下半数据 2025-11-10 16:31:01 +08:00
BTMuli
531cb32f72 🚀 v0.8.4 2025-10-27 19:48:35 +08:00
BTMuli
4305967ba9 🚀 v0.8.3 2025-10-22 13:59:10 +08:00
BTMuli
76e9d23f23 🚀 v0.8.2 2025-09-27 12:52:22 +08:00
BTMuli
ee92af0f73 卡池轮播 2025-09-14 22:52:08 +08:00
BTMuli
a8bd4be8ea 🚀 v0.8.1 2025-09-11 13:38:07 +08:00
BTMuli
5b29eff372 🚀 v0.8.0 2025-09-09 15:18:26 +08:00
BTMuli
08ef8295a1 ⬆️ 更新依赖 2025-09-09 14:25:08 +08:00
BTMuli
21b34de208 🚀 v0.7.10 2025-08-17 23:16:49 +08:00
BTMuli
f0dc4817b2 ⬆️ 更新依赖 2025-08-09 15:59:34 +08:00
BTMuli
81a6415c75 🚀 v0.7.9 2025-07-30 10:31:38 +08:00
BTMuli
7d9ee582e2 ⬆️ 更新依赖 2025-07-29 22:45:20 +08:00
BTMuli
cbf4e15809 ⬆️ 更新依赖 2025-07-14 15:48:52 +08:00
BTMuli
728a38edaf 🚀 v0.7.8 2025-07-07 12:47:15 +08:00
BTMuli
79b071318b ⬆️ 更新依赖 2025-06-25 19:18:45 +08:00
BTMuli
0c18bea220 🚀 v0.7.7 2025-06-17 17:09:11 +08:00
BTMuli
dca590e027 🚀 v0.7.6 2025-05-25 14:33:21 +08:00
BTMuli
69cede4274 🚀 v0.7.5 2025-05-09 12:07:00 +08:00
BTMuli
82c06c3727 ⬆️ 更新依赖项版本 2025-05-09 11:37:12 +08:00
BTMuli
c31cf7aa82 🚀 v0.7.4 2025-05-06 13:55:54 +08:00
BTMuli
27c79aec62 ⬆️ 更新依赖 2025-05-05 21:45:44 +08:00
目棃
da17f8cd03 🚀 v0.7.3 2025-04-11 22:22:05 +08:00
目棃
74217e679e ⬆️ 更新依赖 2025-04-05 19:30:17 +08:00
目棃
211f689426 ⬆️ 更新依赖 2025-03-28 10:23:19 +08:00
目棃
89a79dc968 🚀 v0.7.2 2025-03-27 20:47:38 +08:00
目棃
f92684c7b3 ⬆️ 更新依赖 2025-03-21 10:45:35 +08:00
目棃
1b5ddf9b3f 💄 调整select 2025-03-19 10:45:49 +08:00
目棃
01dc6a6ea7 ♻️ use opener instead of window.open/shell 2025-03-18 14:52:00 +08:00
目棃
4ef3313eb1 ⬆️ 更新依赖 2025-03-17 09:33:34 +08:00
目棃
81fc5f9dca 🔧 参考最新项目修改配置 2025-03-06 15:56:08 +08:00
目棃
8c9885441b 🚀 v0.7.1 2025-03-06 10:02:05 +08:00
目棃
cad8de6cd7 ⬆️ 更新依赖 2025-03-01 12:35:10 +08:00
目棃
0f546e8a57 🚀 v0.7.0 2025-02-28 10:05:04 +08:00
目棃
3ba72969d9 ⬆️ 更新依赖 2025-02-27 14:01:51 +08:00