mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
7544fa14897bfdc47b21a97cbfac39502a49ee84
* 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>
Author, Description, Date, Update
| Author | Description | Date | Update |
|---|---|---|---|
| 目棃 | 说明文档 | 2023-03-05 | 2025-12-03 |
本文档
Frontmatter由 MuCli 自动生成于2023-03-05 14:41:55更新于
2025-12-03 10:22:51
Teyvat Guide
基于 Tauri 的原神工具应用,支持 Windows 和 macOS 平台。
Game Tool for Genshin Impact player, supports Windows and macOS.
下载 / Download
程序已经通过微软商店审核,可以直接在商店下载。
macOS 用户可以通过 Github Release 下载,可能需要额外操作以打开。
macOS users could download the app from GitHub release, extra steps are needed to open the app.
仓库概况 / Repo Stats
功能 / Features
-
免登陆功能:
- 当前卡池、近期活动、素材日历
- 游戏内公告&活动获取
- 米游社官方帖获取(支持通过 ID 获取)
- 米游社各分区帖子获取(支持通过 ID 获取)
- 米游社话题帖子获取(通过话题点击跳转)
- 成就管理(UIAF v1.1),支持
Yae导入 & 自动导入(内置Yae) - 祈愿管理(UIGF v3.0,UIGF v4.1)
- 留影叙佳期画片查看
- 帖子收藏
- 帖子评论查看&分享
-
登陆功能:
支持 扫码/验证码/Cookie 登陆,支持多账号管理
- 近期活动(首页组件)
- 原神战绩
- 角色详情
- 螺旋深渊
- 真境剧诗
- 幽境危战
- 祈愿数据获取(近一年)
- 千星奇域祈愿数据获取(近一年)
- 用户收藏帖子获取
- 用户关注帖子获取
- 一键完成米游币每日任务
- 一键完成游戏签到
-
Wiki 功能:
- 角色图鉴
- 武器图鉴
- 名片图鉴
- 材料图鉴
-
应用功能:
- 浅色/深色主题切换
- 米游社 JSBridge
贡献者 / Contributors
UI 参考 / UI Reference
相关文档 / Docs
- Changelog: CHANGELOG
- 资源来源:项目资源说明
- UIAF:UIAF v1.1
- UIGF:UIGF v3.0,UIGF v4.0
- macOS 平台门禁属性导致应用无法打开应用的修复指引
- 如何导入胡桃数据库
特定项目 / Special Project
- MuCli:基于 NodeJS 的命令行工具,用于生成项目文档。
- TGAssistant:Teyvat Guide 的资源获取、解析、处理仓库。
- WhiteTea:Github Bot,(半)自动化处理 Teyvat Guide 的 Issue 和 Pull Request。
技术栈 / Tech Stack
第三方组件 / Plugins
- Ajv:用于校验UIAF&UIGF导入数据
- Artplayer:用于米游社帖子视频播放解析
- Echarts:用于祈愿概览图生成
- Html2Canvas:用于分享图生成
协议 / License
项目基于 MIT 协议开源。
应用版本号遵循 Semantic Versioning 2.0.0 规范。
隐私政策:Privacy
鸣谢 / Thanks
本项目在开发过程中参考了诸多相关开源项目,特此鸣谢。
Languages
Vue
71.7%
TypeScript
22.7%
Rust
4.8%
SCSS
0.5%
JavaScript
0.3%
