Commit Graph

386 Commits

Author SHA1 Message Date
BTMuli
ee85738bba 🐛 尝试修复dll匹配异常 2026-01-13 15:48:42 +08:00
BTMuli
ecbc8fd7cd ♻️ 获取游戏版本,完善检测 2026-01-13 14:19:32 +08:00
BTMuli
16f6289b15 ⬆️ 更新依赖 2026-01-11 12:36:31 +08:00
BTMuli
5834eee6fc 🐛 修复部分帖子获取内容异常 2026-01-04 15:38:59 +08:00
BTMuli
edb7088846 🌱 完成登录请求
#202
2026-01-04 03:38:46 +08:00
BTMuli
837651542d 支持获取机器码 2026-01-04 02:56:56 +08:00
BTMuli
051c300a34 🐛 补充缺失权限,修复opener打开URL异常 2026-01-03 18:12:16 +08:00
BTMuli
ea89503761 🐛 兼容管理员重启flag 2026-01-03 13:48:36 +08:00
BTMuli
7b3596d226 ♻️ 采用invoke而非command启动游戏 2026-01-03 13:48:08 +08:00
BTMuli
1f05b0d97c enable dpi v2 2026-01-03 00:47:10 +08:00
BTMuli
0d37a86883 🚸 新增srs命令用于重置窗口回正 2026-01-02 21:01:19 +08:00
BTMuli
94d8a80745 🐛 use ico to fix tray init failed 2026-01-02 16:06:05 +08:00
BTMuli
f485a040cc 🧑‍💻 remove dev workaround 2026-01-02 15:58:21 +08:00
BTMuli
0288e38c95 🌱 发送通知 2026-01-02 00:01:30 +08:00
BTMuli
6d03c22b17 🚸 调整搜索逻辑,支持数量筛选
close #196
2026-01-01 22:18:29 +08:00
BTMuli
15e0a60bb6 🌱 初步定义&获取终端参数
#195
2026-01-01 19:49:31 +08:00
BTMuli
d50dcc34c6 🌱 构建脚本 2025-12-30 02:53:00 +08:00
BTMuli
ab115726bd 🚨 修复编译异常 2025-12-29 21:46:31 +08:00
BTMuli
01cda62231 处理文本放缩
close #192
2025-12-29 21:42:09 +08:00
BTMuli
41987a9a58 🎨 使用 widestring 替代现有处理 2025-12-29 21:28:49 +08:00
BTMuli
cc3655a700 🌱 监听&获取文本缩放
#192
2025-12-29 21:15:52 +08:00
BTMuli
cfea47f11c 🌱 尝试引入Sentry进行分析 2025-12-29 19:56:00 +08:00
BTMuli
5ecb46f1da 支持货币数据获取 2025-12-28 15:19:34 +08:00
BTMuli
a929572ef5 👽️ 更新接口&返回 2025-12-27 15:42:12 +08:00
BTMuli
dfc60d8645 🐛 修正管理员模式判断逻辑,改为检测进程 2025-12-27 15:11:28 +08:00
BTMuli
7013f2ea18 🐛 修复 wcag-color 无法对比 keyword 导致的渲染异常 2025-12-26 14:23:01 +08:00
BTMuli
715b53ba82 🐛 修复程序最小化时托盘点击异常 2025-12-24 20:42:02 +08:00
BTMuli
06ff32d47d 管理员模式下启动使用YAE导入 2025-12-22 15:57:32 +08:00
BTMuli
c562424af9 ♻️ 部分组件ZIndex抽离 2025-12-21 18:40:50 +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
BTMuli
a1befe8eff 添加release字段,调整WIKI角色页面排序
close #180
2025-12-14 14:51:16 +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
1b2399822c 从Hakushi获取动态字典
#183
2025-12-14 02:34:21 +08:00
BTMuli
cc2020c64e ♻️ Yae数据传递移至App层,重构命令处理逻辑 2025-12-09 16:43:32 +08:00
BTMuli
bd914a0f44 🏷️ 武器&圣遗物添加guid字段 2025-12-09 15:41:01 +08:00
BTMuli
446b9a7d78 ♻️ 调整数据结构 2025-12-08 23:45:12 +08:00
BTMuli
06c0253bb2 🎨 微调 2025-12-06 23:23:27 +08:00
BTMuli
cf3f04c457 🌱 获取背包物品 2025-12-06 14:27:48 +08:00
BTMuli
dc03edd30b 🚀 v0.8.8 2025-12-03 20:30:48 +08:00
BTMuli
d18b6bb898 ♻️ 代码重构提取 2025-12-03 20:30:28 +08:00
BTMuli
0f107abde6 🐛 重构管理员权限重启逻辑 2025-12-03 19:58:03 +08:00
BTMuli
46cf40734f 🐛 修复成就数据读取异常 2025-12-03 18:53:35 +08:00
BTMuli
676ef8e8ee 🚀 v0.8.7 2025-12-03 10:24:27 +08:00
BTMuli
bc64e20ebd 🚸 优化字典处理逻辑,确保字典至少包含两个键 2025-12-02 23:49:05 +08:00
BTMuli
90d71be17e 🐛 修复mac编译异常 2025-12-02 22:39:04 +08:00
BTMuli
5ac9c24379 🐛 修复macOS编译异常 2025-12-02 22:25:44 +08:00
BTMuli
9e359b9621 ⬆️ 更新依赖 2025-12-02 21:59:24 +08:00
BTMuli
cde9149bbd 🐛 修复mac编译异常 2025-12-02 21:49:59 +08:00
BTMuli
92ad548061 🐛 修复 Windows 平台相关的条件编译和文档注释 2025-12-02 21:16:59 +08:00