Compare commits

..

182 Commits

Author SHA1 Message Date
BTMuli
cf801314a1 🚀 v0.3.3 版本更新 2023-10-19 13:51:22 +08:00
BTMuli
06f4d26184 💄 角色详情深色模式样式完善 2023-10-19 13:38:17 +08:00
BTMuli
518af605de 💄 隐藏滚动条 2023-10-19 13:19:13 +08:00
目棃
1aa3ba3792 Merge pull request #52 from BTMuli/dependabot/cargo/src-tauri/rustix-0.37.25
Bump rustix from 0.37.23 to 0.37.25 in /src-tauri
2023-10-19 11:41:27 +08:00
dependabot[bot]
fc0b165c8f Bump rustix from 0.37.23 to 0.37.25 in /src-tauri
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.37.23 to 0.37.25.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.23...v0.37.25)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 18:43:44 +00:00
BTMuli
efec9f7917 🐛 修复 release 路径错误问题 2023-10-18 23:49:33 +08:00
BTMuli
c168a07640 🎨 调整分享图生成参数 2023-10-18 22:55:40 +08:00
BTMuli
839891448c 💄 完善视频截图处理 #44 2023-10-18 22:38:35 +08:00
BTMuli
cc475a5c50 🐛 修复遮挡问题 2023-10-18 21:58:44 +08:00
BTMuli
98189974b8 🔧 不设置 csp 2023-10-18 21:43:30 +08:00
BTMuli
f6e531909b ⬆️ 更新 pnpm 8.9.0 → 8.9.2 2023-10-18 21:06:07 +08:00
BTMuli
f7238186f4 🍱 添加米游社视频播放 svg 2023-10-18 20:59:58 +08:00
BTMuli
b71e21a131 🔧 修复样式错误 2023-10-18 19:35:07 +08:00
BTMuli
5c54fc255a 🔧 更新默认 release body 2023-10-18 19:20:40 +08:00
BTMuli
49b4ad53cd 🔧 开启 sourceMap 2023-10-18 19:19:50 +08:00
BTMuli
32a40b3cad 💄 修复左侧样式错误 2023-10-18 18:01:57 +08:00
BTMuli
b7a555c8b8 ✏️ 修复 eslint 报错 2023-10-18 17:48:16 +08:00
BTMuli
6ab1f5c842 🚨 解决 eslint 部分报错 2023-10-18 17:21:09 +08:00
BTMuli
98c3e1a468 🗃️ 完善数据库更新语句 2023-10-18 17:20:26 +08:00
BTMuli
90775f925b 🍱 更新部分缺漏数据 2023-10-18 16:51:11 +08:00
BTMuli
751372a4ba 🌱 完善客户端,获取 postMessage 2023-10-18 13:21:56 +08:00
BTMuli
4ab679dcea 🌱 初步构建米游社客户端子窗口 2023-10-18 01:24:19 +08:00
BTMuli
c41b89acf7 🎨 依赖结构调整 2023-10-17 22:57:41 +08:00
BTMuli
2f34b1be45 ♻️ 动态路由,提高加载速度 2023-10-17 20:32:13 +08:00
BTMuli
a7ad394c4f 🎨 提高主观启动速度(bushi) 2023-10-17 19:47:06 +08:00
BTMuli
a8bf9e3c3b 💄 当即将切换卡池时提供 switch btn 2023-10-17 18:05:10 +08:00
BTMuli
6af3461168 📝 修复仓库概况数据缺失问题 2023-10-17 13:39:39 +08:00
BTMuli
63f72a992c 💄 卡片样式调整 2023-10-17 13:33:02 +08:00
BTMuli
f7b60fb218 💄 snackbar 样式调整 2023-10-17 00:43:23 +08:00
BTMuli
7b76432b1e ♻️ 修改更新弹窗机制 #45 2023-10-15 17:34:18 +08:00
BTMuli
068f8c7647 🎨 nextTick 部分应用 2023-10-15 17:32:49 +08:00
BTMuli
c27d3af5db 💄 稍微调整了一下样式 2023-10-15 17:04:44 +08:00
BTMuli
3691397cec ♻️ 公告页样式重构 2023-10-15 16:57:48 +08:00
BTMuli
cbce3eda60 🎨 暂时就简化到这里吧 2023-10-14 15:01:45 +08:00
BTMuli
54a0cfd03f ♻️ 咨讯页路由路径变更 2023-10-14 14:52:07 +08:00
BTMuli
214991fdd9 ♻️ 二次简化 2023-10-14 14:46:58 +08:00
BTMuli
58e3c0e1a6 ♻️ 简化代码 2023-10-14 14:34:32 +08:00
BTMuli
358255d50a 💄 修复 text 过长时溢出容器问题 2023-10-14 01:33:41 +08:00
BTMuli
d2fa3529f8 🐛 definedProps无法引入外部Typescript类型定义 2023-10-13 23:19:05 +08:00
BTMuli
7dedcc4ea9 ✏️ 完善其余函数式组件类型 2023-10-13 23:09:08 +08:00
BTMuli
980b420eb1 ✏️ 完善 showConfirm 类型 2023-10-13 23:07:59 +08:00
BTMuli
c8c157852f 💚 调整运行条件 2023-10-13 14:02:08 +08:00
BTMuli
48a84918b6 💚 Qodana 暂时弃用
https://youtrack.jetbrains.com/issue/QD-7388/Maximum-number-of-licenses-is-exceeded-for-this-product
2023-10-13 13:15:51 +08:00
BTMuli
f6bea9b2e7 🐛 解决最小化无法唤起问题 2023-10-12 00:15:12 +08:00
BTMuli
3b0bc4b1a5 完成大别野卡片样式渲染 2023-10-11 23:45:33 +08:00
BTMuli
b484e745e0 🌱 初步完成大别野卡片的解析、渲染 2023-10-11 20:37:19 +08:00
BTMuli
74320f0e9a 🎨 优化 init_app 逻辑 2023-10-11 20:34:30 +08:00
BTMuli
adc96b7649 💄 美化未知类型样式 2023-10-11 18:25:40 +08:00
BTMuli
e32988f663 🐛 解决 account 初始化问题 2023-10-11 00:04:33 +08:00
BTMuli
1cd1c1f035 🚨 修复 eslint 报错 2023-10-10 23:31:37 +08:00
BTMuli
b04f49ec46 🎨 代码格式化 2023-10-10 23:15:26 +08:00
BTMuli
5c2bb4e5af 🔧 优化 eslint 配置 2023-10-10 22:30:38 +08:00
BTMuli
9a25e387aa ♻️ 数据库连接一直保持开启 #46 2023-10-10 21:23:25 +08:00
BTMuli
fa22a45bb1 粗略处理视频截图 #44 2023-10-10 13:59:36 +08:00
BTMuli
146f3404f0 💄 颜色变更 2023-10-09 19:19:30 +08:00
BTMuli
93fe738c97 ✏️ 完善极验类型 2023-10-09 19:07:40 +08:00
BTMuli
5272108e82 🎨 完善请求 2023-10-09 18:50:40 +08:00
BTMuli
faa1832c1e ♻️ 启动后只执行一次 2023-10-09 17:52:28 +08:00
BTMuli
5712d4b7fc ✏️ 修复 GCG 类型错误 2023-10-09 01:14:14 +08:00
BTMuli
1ad3506f66 ✏️ 修复 import.meta.env 引用 2023-10-09 01:05:52 +08:00
BTMuli
7841ea4a79 🎨 完善 ck,briefInfo 获取 2023-10-09 00:18:50 +08:00
BTMuli
66ecd9a91e ♻️ 通过 import.meta 获取当前环境 2023-10-08 23:52:37 +08:00
BTMuli
6e79c0a7e0 🎨 调整 deep link 响应方式 2023-10-08 23:42:30 +08:00
BTMuli
96ab38b932 💄 添加 finish icon 2023-10-08 23:38:37 +08:00
BTMuli
788560f536 🎨 添加成就系列信息 #19 2023-10-08 23:29:05 +08:00
BTMuli
fdfcc70bcb 🐛 修复部分成就版本错误
https://github.com/DGP-Studio/Snap.Hutao/issues/996
2023-10-08 23:22:45 +08:00
目棃
cbb2ddd8a2 Merge pull request #49 from BTMuli/dependabot/npm_and_yarn/postcss-8.4.31
Bump postcss from 8.4.29 to 8.4.31
2023-10-06 14:14:16 +08:00
dependabot[bot]
8aeaf30a89 Bump postcss from 8.4.29 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.29 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.29...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 20:11:00 +00:00
BTMuli
fe1f16584e ♻️ 完善报错,默认刷新两期 #48 2023-10-05 20:23:04 +08:00
BTMuli
e974f30647 ♻️ 更新 salt 2023-10-05 15:43:32 +08:00
BTMuli
ce2ff5b6f5 📝 添加 JB OSS 说明 2023-10-04 21:24:18 +08:00
BTMuli
491cdf9af6 🚨 修复 Qodana 报错 2023-10-02 23:02:14 +08:00
BTMuli
49c716f009 🚧 继续调试验证 2023-10-02 22:56:12 +08:00
BTMuli
b3bbd4bed7 🔧 Qodana 又能用了 2023-10-02 22:22:37 +08:00
BTMuli
bbc2a3f845 🐛 修复控制台报错 2023-09-30 21:15:37 +08:00
BTMuli
3cd2586ed4 🎨 优化方法 2023-09-30 21:06:11 +08:00
BTMuli
dd940d5a2b ♻️ geetest 组件函数化调用 2023-09-30 19:08:21 +08:00
BTMuli
b57d34419f 🐛 修复依赖 2023-09-30 16:19:15 +08:00
BTMuli
bd67ee7a25 🌱 完成相关请求,待测试 #47 2023-09-30 16:13:05 +08:00
BTMuli
137180028e 🎨 更改引入方式 2023-09-30 13:38:38 +08:00
BTMuli
a513b38f14 🌱 初步引入 gt.js 2023-09-28 22:42:06 +08:00
BTMuli
2cbac71b36 🍱 替换默认头像 2023-09-28 21:44:16 +08:00
BTMuli
e95cf683aa ️ 优化错误处理 2023-09-28 19:08:46 +08:00
BTMuli
1fa97d0a6c 🌱 更新依赖,开写 v0.3.3 2023-09-28 19:01:43 +08:00
BTMuli
be42e562fd 🚀 v0.3.2 版本更新 2023-09-27 08:45:55 +08:00
BTMuli
e91365a3db 🧑‍💻 Qodana 改为手动触发,试用期过了 T_T 2023-09-27 08:38:09 +08:00
BTMuli
d5b810c160 🍱 补充误删的好感 icon 2023-09-27 01:35:27 +08:00
BTMuli
6a7fddc38b 🍱 更新素材日历数据,删除冗余资源 #41 2023-09-27 01:31:52 +08:00
BTMuli
6ab64315dc 🍱 更新武器数据 #41 2023-09-26 18:15:25 +08:00
BTMuli
0c73dac5cb 🍱 更新角色数据 #41 2023-09-26 16:16:36 +08:00
BTMuli
415460f2f9 🍱 更新成就数据 #41 2023-09-26 02:08:55 +08:00
BTMuli
7639f8b311 🍱 补充剩下的名片数据 #41 2023-09-26 01:05:17 +08:00
BTMuli
89efe01009 🍱 添加部分名片数据 #41 2023-09-25 01:16:08 +08:00
BTMuli
e70a330a0e 🔧 尝试修复 action 报错 2023-09-24 15:27:38 +08:00
BTMuli
8359af076e 🔧 忽略 qodana.yaml 2023-09-24 14:52:48 +08:00
BTMuli
f6b459882c ⬆️ 更新依赖 2023-09-23 21:47:04 +08:00
BTMuli
c05d359db4 主窗口退出时子窗口自动关闭 2023-09-23 21:31:31 +08:00
BTMuli
e72c4dab7f ♻️ 稍微改了改结构 2023-09-23 21:09:17 +08:00
BTMuli
de810278bd 🐛 路由跳转优化 2023-09-23 20:58:10 +08:00
BTMuli
b727688e9c 🐛 register 只跑一次 2023-09-23 20:31:08 +08:00
BTMuli
66539b4bdb 🍱 添加新版本卡牌相关资源 #41 2023-09-23 20:19:56 +08:00
BTMuli
9e6b8e9283 完成参数获取&剪贴板读取 #42 2023-09-19 16:27:30 +08:00
BTMuli
d45d26cafd 🌱 完成外部唤起测试 #42 2023-09-18 20:54:58 +08:00
BTMuli
b0fc874965 🔊 微改 console 2023-09-17 00:20:36 +08:00
BTMuli
0845ca847c 💄 调整颜色,增加对比度 2023-09-16 15:31:26 +08:00
BTMuli
e53fb5b99e 🐛 修复表情解析概率报错 2023-09-16 15:12:49 +08:00
BTMuli
b0b979f958 分享图自动复制到剪贴板 2023-09-16 14:49:52 +08:00
BTMuli
0a9f3d2483 🎨 子窗口缩减为两个label Sub_window 和 Dev_JSON 2023-09-16 14:34:33 +08:00
BTMuli
d3eb5b7ab0 💄 调整背景颜色,更加自然 2023-09-16 13:49:52 +08:00
BTMuli
e0be251a05 🌱 更新依赖,开写 v0.3.2 2023-09-16 12:34:24 +08:00
BTMuli
6068821f89 🚀 v0.3.1 版本更新 2023-09-15 19:49:51 +08:00
BTMuli
0c95648dc6 🔧 还是得加上不然打包不了 2023-09-15 18:51:47 +08:00
BTMuli
55901ee680 检测更新,自动弹出 Changelog 2023-09-15 18:28:48 +08:00
BTMuli
7513643e02 💚 配置微改 2023-09-15 18:14:46 +08:00
BTMuli
42cf8bfd9c 🔨 添加 icon 2023-09-15 18:02:03 +08:00
BTMuli
17457169fd 🔥 关闭 updater,已经有 MS Store 了 2023-09-15 17:31:36 +08:00
BTMuli
0c2d4d0b89 🐛 应用初次加载也加载数据库,完善数据库 load #40 2023-09-15 17:30:07 +08:00
BTMuli
a7dd069930 🚚 tauri-genshin → Teyvat Guide 2023-09-15 17:19:33 +08:00
BTMuli
f907c798bc 📝 添加微软商店链接 2023-09-15 16:48:47 +08:00
BTMuli
8abeeb8c8f 🐛 尝试修复 action 报错 2023-09-11 13:51:21 +08:00
BTMuli
8a11dd6919 💄 修复 dark mode 下字体不清晰问题 2023-09-11 13:09:33 +08:00
BTMuli
4e23970a6c 🐛 获取延时,以避免 -110 报错 2023-09-10 18:22:40 +08:00
BTMuli
61287e3297 🌱 开始开发 0.3.1 2023-09-10 18:22:00 +08:00
BTMuli
a0d9f38f79 🐛 修复 targets 错误 2023-09-08 11:16:48 +08:00
BTMuli
40e0157443 🐛 修复 Frontmatter 错误 2023-09-08 11:01:26 +08:00
BTMuli
00cecf593a 🍱 v0.3.0 2023-09-08 10:52:02 +08:00
BTMuli
5836bf91e6 🚀 v0.3.0 版本更新 2023-09-08 10:33:44 +08:00
BTMuli
46a4752140 🐛 修复一些问题 2023-09-08 10:15:38 +08:00
BTMuli
afb0f317cc 👷 更改打包配置,仅支持 windows(msi) 2023-09-08 09:58:58 +08:00
BTMuli
87c3c59c86 🚨 fix warn info when build 2023-09-07 16:57:50 +08:00
BTMuli
7e3843809f 💄 微改回顶组件样式 2023-09-07 16:04:40 +08:00
BTMuli
ce864897f6 ⬆️ 升级 pnpm 2023-09-07 15:59:28 +08:00
BTMuli
fcb158a7eb 🐛 修复用户数据缺失 2023-09-07 15:46:48 +08:00
BTMuli
2a696d77b4 ⚰️ 删除无用代码 2023-09-07 15:18:47 +08:00
BTMuli
153b27b8cb 💄 美化抽奖页 2023-09-07 14:59:15 +08:00
BTMuli
fcb1dc9493 ♻️ 代码精简 2023-09-06 11:12:32 +08:00
BTMuli
427abd8fa7 ⚰️ 清了一下 todo 2023-09-06 10:25:49 +08:00
BTMuli
a64fc23f87 💄 更换图标,调整顺序 2023-09-06 10:08:19 +08:00
BTMuli
d3d23c439f 💄 稍微处理了一下色彩 2023-09-06 09:28:31 +08:00
BTMuli
efd4c670fb 💄 优化提示 2023-09-05 18:19:32 +08:00
BTMuli
42f5003502 🍱 更新部分缺漏数据 2023-09-05 18:12:03 +08:00
BTMuli
e33f824cec 💄 调整角色 overlay 样式,修复一些报错 2023-09-05 16:54:21 +08:00
BTMuli
472459205c 💄 样式微改 2023-09-05 11:32:48 +08:00
BTMuli
b2858899c1 🐛 修复含有折叠框的文章分享图错误渲染的问题 2023-09-05 11:29:05 +08:00
BTMuli
d89bdf2b34 🥅 完善报错,易于排查 2023-09-05 10:55:59 +08:00
BTMuli
dd412d2d3c 添加 emoji 解析 2023-09-05 10:45:34 +08:00
BTMuli
47823e3f46 🧑‍💻 结构化内容解析显示,便于调试 2023-09-05 09:12:52 +08:00
BTMuli
99712a325f 💡 添加 todo 2023-09-05 00:05:12 +08:00
BTMuli
e834758565 💄 改了点样式 2023-09-04 21:16:29 +08:00
BTMuli
a020a0193e 🐛 修复 divider 生成分享时渲染错误的问题 2023-09-04 21:01:36 +08:00
BTMuli
2ac29e13c3 🐛 修复用户数据获取异常 2023-09-04 19:25:23 +08:00
BTMuli
27bf6bdc41 🐛 修复颜色解析错误,采用 wcag 标准 2023-09-04 19:04:18 +08:00
BTMuli
477201bfb3 🎨 微改 2023-09-04 17:08:07 +08:00
BTMuli
ad11a91f73 实装祈愿记录获取 2023-09-04 16:57:11 +08:00
BTMuli
4fef4d94e1 实装 authKey 获取 2023-09-04 14:54:05 +08:00
BTMuli
4b80de3f24 ♻️ 完善 ds 算法 2023-09-04 14:32:59 +08:00
BTMuli
e2a1f8c862 完成扫码获取 ck,closes #18 2023-09-04 09:29:41 +08:00
BTMuli
bda4966ae5 初步打通相关流程 2023-09-04 01:12:19 +08:00
BTMuli
4f6f065645 添加 gt 获取 st,ckt 相关请求 2023-09-03 23:08:23 +08:00
BTMuli
733ef716e2 🎨 小改 2023-09-03 16:13:05 +08:00
BTMuli
3a7ca20b14 完成扫码获取 gameToken 2023-09-03 16:10:23 +08:00
BTMuli
3cac2057f8 米游社 APP 登录 Web 搞了个组件 2023-09-03 15:31:57 +08:00
BTMuli
faba854b74 ♻️ 改了一些组件 2023-09-03 00:06:48 +08:00
BTMuli
4debd354a7 ♻️ 完善 box-bg 层级,减少 border 2023-09-02 22:42:08 +08:00
BTMuli
95eca77d0a ♻️ 用户相关的四个一级页面勉强改完 2023-09-02 14:03:23 +08:00
BTMuli
a8488c04f8 💄 完善昨天改的四个 common page 2023-09-02 12:07:03 +08:00
BTMuli
b4b1e194d9 💄 调整基本样式 2023-09-02 10:57:55 +08:00
BTMuli
296350473a ♻️ 又改了一些页面样式 2023-09-01 23:51:46 +08:00
BTMuli
191fe57b36 💄 首页按钮样式变更 2023-09-01 22:20:23 +08:00
BTMuli
208aa7cc1a ♻️ confirm 组件样式调整 2023-09-01 22:19:52 +08:00
BTMuli
6f22326a88 ♻️ 首页颜色替换完成 2023-09-01 20:39:52 +08:00
BTMuli
386085f8c3 🎨 调整默认背景色,设置默认保存路径 2023-09-01 19:39:26 +08:00
BTMuli
343c83b185 ♻️ 样式调整,慢慢改吧 2023-09-01 16:55:43 +08:00
BTMuli
2c129351c1 💄 微调布局 2023-09-01 10:10:28 +08:00
BTMuli
09317afac6 ♻️ 祈愿数据单独备份、恢复 2023-09-01 09:39:14 +08:00
BTMuli
1bdc614940 ♻️ uid 直接读取数据库,优化渲染 2023-08-31 20:08:04 +08:00
BTMuli
f842da01fa 🐛 修复导出路径错误 2023-08-31 19:02:54 +08:00
BTMuli
a3c1442c7d 🌱 成功获取扫码登录返回 tokens 2023-08-31 17:13:46 +08:00
BTMuli
cf691d8b51 🐛 修复 Cookie 无法输入的问题 2023-08-31 15:40:13 +08:00
BTMuli
6e21242e11 📝 v0.2.x 归档 2023-08-31 15:33:40 +08:00
BTMuli
a76f77502b ⬆️ 更新依赖,开写 v0.3.0 2023-08-31 15:23:17 +08:00
BTMuli
9d681b29f1 🍱 v0.2.3 2023-08-31 14:45:18 +08:00
799 changed files with 10497 additions and 6769 deletions

View File

@@ -2,4 +2,6 @@
dist
src-tauri/target
# Submodules
TGAssistant
TGAssistant
# Package files
pnpm-lock.yaml

View File

@@ -3,37 +3,173 @@ env:
browser: true
es2021: true
extends:
- plugin:vue/vue3-recommended
- standard-with-typescript
- plugin:vue/vue3-essential
- prettier
- plugin:prettier/recommended
parser: vue-eslint-parser
- plugin:yml/standard
- plugin:jsonc/recommended-with-json
parserOptions:
extraFileExtensions:
- .vue
parser: "@typescript-eslint/parser"
project:
- tsconfig.json
- tsconfig.node.json
ecmaVersion: latest
sourceType: module
tsconfigRootDir: .
project: ./tsconfig.json
globals:
TGApp: readonly
plugins:
- vue
- prettier
window: readonly
rules:
# normal
array-callback-return: warn
# TypeScript
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/consistent-type-assertions":
- warn
- assertionStyle: angle-bracket # 使用尖括号
"@typescript-eslint/naming-convention":
- warn
- selector: variableLike
format: ["camelCase", "UPPER_CASE", "PascalCase", "snake_case"]
leadingUnderscore: "allow"
trailingUnderscore: "allow"
"@typescript-eslint/no-non-null-assertion": warn
# Vue
"vue/multi-word-component-names": off
vue/multi-word-component-names: off
vue/valid-template-root: off
overrides:
- files: ["*.ts"]
extends: standard-with-typescript
# 将此处规则 copy 到下面的 .vue 文件的 rules 中
rules:
import/order:
- error
- groups:
- builtin
- external
- [internal, parent, sibling, index]
- unknown
newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
"@typescript-eslint/indent": off
"@typescript-eslint/quotes":
- error
- double
"@typescript-eslint/semi":
- error
- always
"@typescript-eslint/comma-dangle":
- error
- always-multiline
"@typescript-eslint/space-before-function-paren":
- error
- anonymous: always
named: never
asyncArrow: always
"@typescript-eslint/member-delimiter-style":
- error
- multiline:
delimiter: semi
requireLast: true
"@typescript-eslint/no-import-type-side-effects": error
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/consistent-type-assertions":
- warn
- assertionStyle: angle-bracket # 使用尖括号
"@typescript-eslint/naming-convention":
- warn
- selector: variableLike
format: [camelCase, UPPER_CASE, PascalCase, snake_case]
leadingUnderscore: allow
trailingUnderscore: allow
"@typescript-eslint/no-non-null-assertion": warn
"@typescript-eslint/no-misused-promises": off
- files: ["*.vue"]
parser: vue-eslint-parser
parserOptions:
parser: "@typescript-eslint/parser"
extraFileExtensions: [.vue]
rules:
import/order:
- error
- groups:
- builtin
- external
- [internal, parent, sibling, index]
- unknown
newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
"@typescript-eslint/indent": off
"@typescript-eslint/quotes":
- error
- double
"@typescript-eslint/semi":
- error
- always
"@typescript-eslint/comma-dangle":
- error
- always-multiline
"@typescript-eslint/space-before-function-paren":
- error
- anonymous: always
named: never
asyncArrow: always
"@typescript-eslint/member-delimiter-style":
- error
- multiline:
delimiter: semi
requireLast: true
"@typescript-eslint/no-import-type-side-effects": error
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/consistent-type-assertions":
- warn
- assertionStyle: angle-bracket # 使用尖括号
"@typescript-eslint/naming-convention":
- warn
- selector: variableLike
format: [camelCase, UPPER_CASE, PascalCase, snake_case]
leadingUnderscore: allow
trailingUnderscore: allow
"@typescript-eslint/no-non-null-assertion": warn
"@typescript-eslint/no-misused-promises": off
- files: [package.json, tsconfig.json]
parser: jsonc-eslint-parser
rules:
jsonc/sort-array-values:
- error
- pathPattern: .*
order:
type: asc
jsonc/sort-keys:
- error
- pathPattern: ^$
order:
- name
- version
- description
- private
- packageManager
- scripts
- lint-staged
- keywords
- author
- license
- repository
- homepage
- bugs
- dependencies
- devDependencies
- files: ["*.yaml", "*.yml"]
parser: yaml-eslint-parser
parserOptions:
defaultYAMLVersion: "1.2"
rules:
yml/indent:
- error
- 2
yml/no-multiple-empty-lines: error
yml/key-spacing: error
yml/quotes:
- error
- prefer: double
avoidEscape: true
yml/sort-keys:
- error
- pathPattern: ^$
order:
- root
- env
- extends
- parserOptions
- globals
- rules
- overrides
- pathPattern: ^rules$
order:
type: asc

View File

@@ -42,11 +42,16 @@ jobs:
- uses: tauri-apps/tauri-action@dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: v__VERSION__-alpha
releaseBody: https://github.com/BTMuli/Tauri.Genshin/releases/tag/v__VERSION__
releaseName: v__VERSION__-beta
releaseBody: |
> 建议通过微软应用商店下载,此处仅作为备份
<a href="https://apps.microsoft.com/store/detail/9NLBNNNBNSJN?launch=true&cid=BTMuli&mode=mini">
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" alt="download"/>
</a>
releaseDraft: true
prerelease: false

View File

@@ -1,11 +1,10 @@
name: Qodana
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
# pull_request:
# push:
# branches:
# - master
jobs:
qodana:
runs-on: ubuntu-latest

View File

@@ -9,3 +9,5 @@ src-tauri/target
TGAssistant
# Pnpm
pnpm-lock.yaml
# Qodana
qodana.yaml

View File

@@ -1,107 +1,111 @@
---
Author: 目棃
Date: 2023-06-18
Description: CHANGELOG
Update: 2023-08-31
Date: 2023-09-08
Update: 2023-10-19
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-06-18 15:03:42 `
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-09-08 09:45:17 `
>
> 更新于 `2023-08-31 11:23:03`
> 更新于 `2023-10-19 13:49:53`
# CHANGELOG
## [0.2.3](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.3) (2023-08-31)
## [0.3.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.3) (2023-10-19)
### Feat
- 组件:实现并替换 `snackbar` `confirm` 组件,新组件采用函数式调用
- 功能:完成 UIGF 数据导入、导出、渲染 [#27](https://github.com/BTMuli/Tauri.Genshin/issues/27)
- 应用:支持含视频帖子分享图生成 [`#44`](https://github.com/BTMuli/TeyvatGuide/issues/44)
- 帖子:新增对于大别野卡片 `VillaCard` 的解析渲染
- 应用:公告页样式美化
- 应用:采取动态路由,提高加载速度
- 角色:完善深色模式角色详情页样式
### Fix
- 资源:补充部分缺漏 contentId
- 分享:调整生成分享图的默认背景颜色
- 页面:`我的角色` 页面更新天赋数据后自动刷新页面
- 深渊:默认刷新两期 [`#48`](https://github.com/BTMuli/TeyvatGuide/issues/48)
- 成就:修复部分成就版本错误 [`DGP-Studio/Snap.Hutao#996`](https://github.com/BTMuli/TeyvatGuide/commit/fdfcc70b)
- 应用:完善 DeepLink 处理
- 应用:完善 Cookie,BriefInfo 数据获取
- 应用:数据库链接保持开启,[`#46`](https://github.com/BTMuli/TeyvatGuide/issues/46)
- 组件:修复 `showConfirm` 文字过长时溢出容器问题 [`358255d5`](https://github.com/BTMuli/TeyvatGuide/commit/358255d5)
- 应用:更改弹窗弹出机制 [`#45`](https://github.com/BTMuli/TeyvatGuide/issues/45)
- 数据:补充 4.1 版本缺漏数据
### Change
- 组件:首页卡池组件样式调整
- 依赖:更新 cargo 依赖
- 页面:调整 `原神战绩` 页面样式
- 页面:调整 `深渊记录` 页面样式,采用横版布局
- 功能:不再考虑 `实时便笺` 功能实现
- 图标:侧边栏部分图标变更
- 图像:未登录时的默认头像变更 [`2cbac71b`](https://github.com/BTMuli/TeyvatGuide/commit/2cbac71b)
- 成就:添加 Finish Icon [`96ab38b9`](https://github.com/BTMuli/TeyvatGuide/commit/96ab38b9)
- 应用:浅色主题样式调整
- 帖子:未知结构化数据类型样式调整 [`adc96b76`](https://github.com/BTMuli/TeyvatGuide/commit/adc96b76)
- 应用:重构创建帖子子窗口代码
- 应用:咨讯页路由变更
- 组件:`showSnackbar` 样式调整
- 应用:重构咨讯页代码
FullCommits: [`v0.2.2...v0.2.3`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.2...v0.2.3)
FullCommits: [`v0.3.2...v0.3.3`](https://BTMuli/TeyvatGuide/compare/v0.3.2...v0.3.3)
## [0.2.2](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.2) (2023-08-15)
## [0.3.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.2) (2023-9-27)
### Feat
- 资源:更新游戏 4.0 版本相关资源 [#33](https://github.com/BTMuli/Tauri.Genshin/issues/33)
- 成就:支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 直接导入 [`#42`](https://github.com/BTMuli/TeyvatGuide/issues/42)
- 资源:更新至 4.1 版本 [`#41`](https://github.com/BTMuli/TeyvatGuide/issues/41)
- 应用:退出主窗口自动关闭所有子窗口
- 应用:完成单例模式,防止多次打开应用
### Fix
- 深渊:修复渲染错误 [#32](https://github.com/BTMuli/Tauri.Genshin/issues/32)
- 深渊:修复图片缺失 [#31](https://github.com/BTMuli/Tauri.Genshin/issues/31)
- 解析:修复表情解析概率报错
- 路由:路由跳转优化
### Change
- 深渊:适应 HutaoAPI 更新 [`00277f52`](https://github.com/BTMuli/Tauri.Genshin/commit/00277f52)
- 素材日历:变更数据来源
- UI: 配色变更
- 分享:改为直接复制到剪贴板
FullCommits: [`v0.2.1...v0.2.2`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.1...v0.2.2)
FullCommits: [`v0.3.1...v0.3.2`](https://BTMuli/TeyvatGuide/compare/v0.3.1...v0.3.2)
## [0.2.1](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.1) (2023-07-14)
## [0.3.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.3.1) (2023-09-15)
### Feat
- 深渊: 新增深渊数据库页面,角色深渊数据支持数据上传 [`#22`](https://github.com/BTMuli/Tauri.Genshin/issues/22)
- 页面:角色详情新增角色衣装数据 [`26186f44`](https://github.com/BTMuli/Tauri.Genshin/commit/26186f44)
- 页面:角色详情新增角色天赋数据
- 功能:子页面:米游社帖子、游戏公告支持分享;首页素材日历支持分享
- 资源:更新 3.8 版本资源 [`#30`](https://github.com/BTMuli/Tauri.Genshin/issues/30)
- 功能:支持根据帖子 ID 跳转到帖子页面 [`04e08090`](https://github.com/BTMuli/Tauri.Genshin/commit/04e08090)
- 正式上架微软商店 <a href="https://apps.microsoft.com/store/detail/9NLBNNNBNSJN?launch=true&cid=BTMuli&mode=mini">
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" alt="download"/>
</a>
- 首页:检测到版本更新时,会弹出更新页面
### Fix
- 样式:美化部分页面、组件样式
- 组件:优化素材日历组件 [`0c923060`](https://github.com/BTMuli/Tauri.Genshin/commit/0c923060)
- 样式:修复首页组件近期活动样式 [`20a2329e`](https://github.com/BTMuli/Tauri.Genshin/commit/20a2329e)
- 样式:美化米游社咨讯页面样式,增加部分数据
- 修复祈愿记录获取失败的问题 [`#38`](https://github.com/BTMuli/TeyvatGuide/issues/38)
- 修复应用初始化加载数据库失败的问题 [`#40`](https://github.com/BTMuli/TeyvatGuide/issues/40)
- 修复 Github action 构建失败的问题
### Change
- 依赖:各依赖更新至最新版本
- 配置:优化 Eslint Prettier Stylelint Lint-Staged 等配置
- 重构:重构 Mys 插件数据类型及 Hutao 插件数据类型
- 应用:关闭 Tauri 自带的自动更新功能,依赖微软商店的更新机制
- 应用:更改应用名称,`Tauri.Genshin` -> `Teyvat Guide`
Full Commits: [`v0.2.0...v0.2.1`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.0...v0.2.1)
FullCommits: [`v0.3.0...v0.3.1`](https://github.com/BTMuli/TeyvatGuide/compare/v0.3.0...v0.3.1)
## [0.2.0](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.0) (2023-06-19)
## [0.3.0](https://github.com/BTMuli/Tauri.Genshin/releases/v0.3.0) (2023-09-08)
### Feat
- 功能:完成原神战绩数据获取、分享
- 功能:完成角色列表数据获取、分享
- 功能:完成深渊数据获取、分享
- 组件:新建多种组件
- 功能:帖子&公告支持分享 [`5393dc1b`](https://github.com/BTMuli/Tauri.Genshin/commit/5393dc1b)
- 页面:帖子&公告页面样式调整
- 登录:支持扫码登录 closes #18
- 祈愿:支持祈愿记录获取
- 帖子:支持表情包解析
### Fix
- 卡牌:更新遗漏卡牌 [`2b768bbf`](https://github.com/BTMuli/Tauri.Genshin/commit/2b768bbf)
- 数据:`ltoken`失效时自动更新 [`6a4ab1f0`](https://github.com/BTMuli/Tauri.Genshin/commit/6a4ab1f0)
- 应用:修复自动更新无效问题 [`9eec6258`](https://github.com/BTMuli/Tauri.Genshin/commit/9eec6258)
- 应用:支持深渊数据备份&恢复 [`44f715f4`](https://github.com/BTMuli/Tauri.Genshin/commit/44f715f4)
- 数据库:修复更新时间 `dev` 开头仍然存储的问题 [`32e3548b`](https://github.com/BTMuli/Tauri.Genshin/commit/32e3548b)
- 祈愿UID 列表从数据库中读取,支持多账号祈愿记录
- 祈愿:修复导出路径错误
- 帖子:修复颜色解析错误
- 帖子:修复生成分享图时分隔线渲染错误
- 帖子:修复含有折叠框的帖子生成分享图时渲染错误
- 数据:添加缺失的角色数据
### Change
- 类型:更新部分类型定义
- 资源:成就系列图标目录变更
- 资源:字体文件变更 [`2ee48566`](https://github.com/BTMuli/Tauri.Genshin/commit/2ee48566)
- 样式:应用样式调整
- 构建:更改打包配置,目前仅支持 Windows 平台msi
Full Commits: [`v0.1.6...v0.2.0`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.1.6...v0.2.0)
FullCommits: [`v0.2.3...v0.3.0`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.3...v0.3.0)

106
README.md
View File

@@ -1,84 +1,120 @@
---
Author: 目棃
Date: 2023-03-05
Description: 说明文档
Update: 2023-08-31
Date: 2023-03-05
Update: 2023-10-19
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
>
> 更新于 `2023-08-31 11:14:51`
> 更新于 `2023-10-19 13:48:03`
![](https://img.shields.io/github/last-commit/BTMuli/Tauri.Genshin?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/Tauri.Genshin/latest?include_prereleases&style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/Tauri.Genshin?style=for-the-badge)
![](https://img.shields.io/github/last-commit/BTMuli/TeyvatGuide?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/TeyvatGuide/latest?include_prereleases&style=for-the-badge)
# Tauri.Genshin
![](https://img.shields.io/badge/UIAF-v1.1-orange?style=for-the-badge) ![](https://img.shields.io/badge/UIGF-v2.3-red?style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/TeyvatGuide?style=for-the-badge)
<div style="width: 100%; text-align: center; margin: 0 auto;">
<img alt="icon" src="public/icon.png" />
</div>
# Teyvat Guide
基于 Tauri 的原神助手应用。
A Genshin Impact assistant app based on Tauri.
## Release
## 下载 / Download
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/BTMuli/Tauri.Genshin?include_prereleases&style=for-the-badge)](https://github.com/BTMuli/Tauri.Genshin/releases/latest)
> 程序已经通过微软商店审核,可以直接在商店下载。
## 技术栈
<a href="https://apps.microsoft.com/store/detail/9NLBNNNBNSJN?launch=true&cid=BTMuli&mode=mini">
<img src="https://get.microsoft.com/images/zh-cn%20dark.svg" alt="download"/>
</a>
> 不推荐通过 GitHub Release 下载,但仍保留了该功能。
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/BTMuli/TeyvatGuide?include_prereleases&style=for-the-badge)](https://github.com/BTMuli/TeyvatGuide/releases/latest)
## 技术栈 / Tech Stack
- [Tauri](https://github.com/tauri-apps/tauri)
- [Vue3](https://github.com/vuejs/core)
- [Vite](https://github.com/vitejs/vite)
- [TypeScript](https://github.com/microsoft/TypeScript)
- [Vuetify](https://github.com/vuetifyjs/vuetify)
- [Echarts](https://echarts.apache.org/zh/index.html)
## 当前进度
## 功能 / Features
> 以下进度仅为开发进度,不代表最终版本
- 免登陆功能:
### 已完成
- [x] 当前卡池、近期活动、素材日历
- [x] 游戏内公告&活动获取
- [x] 米游社官方帖获取(支持通过 ID 获取)
- [x] 成就管理UIAF支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 导入
- [x] 祈愿管理UIGF
- [x] 米游社咨讯获取&展示(支持多种游戏)
- [x] 游戏内公告&活动获取&展示
- [x] UIAF 成就数据导入、导出、备份、恢复
- [x] UIGF 祈愿数据导入导出&展示
- [x] 首页素材日历、近期活动、限时祈愿可选展示
- [x] Wiki 页面草创(包含 GCG、角色、武器等
- [x] 浅色/深色主题切换
- [x] 应用更新检测
- [x] 原神战绩数据获取
- [x] 角色列表数据获取
- [x] 角色天赋数据获取
- [x] 深渊挑战数据获取
- [x] 深渊数据上传,统计数据获取
- 登陆功能:
### 长期计划
- [x] 原神战绩数据获取
- [x] 角色列表数据获取
- [x] 螺旋深渊数据获取
- [x] 祈愿数据获取(近半年)
- [ ] Wiki 详情页
- [ ] 游戏资源更新:更新至 4.0 版本0.2.2
- Wiki 功能:
## 仓库概况
- [x] 深渊数据库Hutao API
- [ ] 角色数据库(开发中)
- [ ] 武器数据库(开发中)
- [ ] 卡牌数据库(开发中)
![Status](https://repobeats.axiom.co/api/embed/0edac184a5892f2520e83e3fe6519c4168db2e1b.svg "Repobeats analytics image")
- 应用功能:
- [x] 浅色/深色主题切换
## UI 参考
## 仓库概况 / Repo Stats
![Status](https://repobeats.axiom.co/api/embed/345d4bae5dc7e5184af4452b9dad01a671e220b3.svg "Repobeats analytics image")
## UI 参考 / UI Reference
- [Snap.Hutao](https://github.com/DGP-Studio/Snap.Hutao)
- [StarWard](https://github.com/Scighost/Starward)
- [米游社](https://www.miyoushe.com/ys/)
- [原神](https://yuanshen.com/)
- [中国色](http://zhongguose.com/)
## 相关文档
## 相关文档 / Docs
- Changelog: [CHANGELOG](CHANGELOG.md)
- 资源来源:[项目资源说明](docs/项目资源说明.md)
- UIAF[UIAF v1.1](docs/UIAF.md)
- UIGF[UIGF v2.3](docs/UIGF.md)
## Contributors
## 贡献者 / Contributors
- [BTMuli](https://github.com/BTMuli)
- [舰队的偶像岛风酱!](https://github.com/frg2089)
- [jerry765](https://github.com/jerry765)
## License
## 协议 / License
项目基于 [MIT](LICENSE) 协议开源。
应用版本号遵循 [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/) 规范。
隐私政策:[Privacy](https://app.btmuli.ink/docs/privacy.html)
## 鸣谢 / Thanks
本项目在开发过程中参考了诸多相关开源项目,特此鸣谢。
- [UIGF Organization](https://github.com/UIGF-org)
- [Snap.Hutao](https://github.com/DGP-Studio/Snap.Hutao)
- [StarWard](https://github.com/Scighost/Starward)
- [xunkong](https://github.com/xunkong/xunkong)
- [gs-helper](https://github.com/vikiboss/gs-helper)
- [paimon-moe](https://github.com/MadeBaruna/paimon-moe)
- [Adachi-BOT](https://github.com/Arondight/Adachi-BOT)
感谢 JetBrains 提供的开源许可证。
[![JetBrains](https://www.jetbrains.com/company/brand/img/jetbrains_logo.png)](https://www.jetbrains.com/?from=TeyvatGuide)

109
docs/CHANGELOG-v0.2.x.md Normal file
View File

@@ -0,0 +1,109 @@
---
Author: 目棃
Date: 2023-06-18
Description: CHANGELOG
Update: 2023-08-31
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-06-18 15:03:42 `
>
> 更新于 `2023-08-31 15:32:53`
# CHANGELOG v0.2.x
> 本文仅记录 v0.2.x 版本的更新内容
## [0.2.3](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.3) (2023-08-31)
### Feat
- 组件:实现并替换 `snackbar` `confirm` 组件,新组件采用函数式调用
- 功能:完成 UIGF 数据导入、导出、渲染 [#27](https://github.com/BTMuli/Tauri.Genshin/issues/27)
### Fix
- 资源:补充部分缺漏 contentId
- 分享:调整生成分享图的默认背景颜色
- 页面:`我的角色` 页面更新天赋数据后自动刷新页面
### Change
- 组件:首页卡池组件样式调整
- 依赖:更新 cargo 依赖
- 页面:调整 `原神战绩` 页面样式
- 页面:调整 `深渊记录` 页面样式,采用横版布局
- 功能:不再考虑 `实时便笺` 功能实现
- 图标:侧边栏部分图标变更
FullCommits: [`v0.2.2...v0.2.3`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.2...v0.2.3)
## [0.2.2](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.2) (2023-08-15)
### Feat
- 资源:更新游戏 4.0 版本相关资源 [#33](https://github.com/BTMuli/Tauri.Genshin/issues/33)
### Fix
- 深渊:修复渲染错误 [#32](https://github.com/BTMuli/Tauri.Genshin/issues/32)
- 深渊:修复图片缺失 [#31](https://github.com/BTMuli/Tauri.Genshin/issues/31)
### Change
- 深渊:适应 HutaoAPI 更新 [`00277f52`](https://github.com/BTMuli/Tauri.Genshin/commit/00277f52)
- 素材日历:变更数据来源
FullCommits: [`v0.2.1...v0.2.2`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.1...v0.2.2)
## [0.2.1](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.1) (2023-07-14)
### Feat
- 深渊: 新增深渊数据库页面,角色深渊数据支持数据上传 [`#22`](https://github.com/BTMuli/Tauri.Genshin/issues/22)
- 页面:角色详情新增角色衣装数据 [`26186f44`](https://github.com/BTMuli/Tauri.Genshin/commit/26186f44)
- 页面:角色详情新增角色天赋数据
- 功能:子页面:米游社帖子、游戏公告支持分享;首页素材日历支持分享
- 资源:更新 3.8 版本资源 [`#30`](https://github.com/BTMuli/Tauri.Genshin/issues/30)
- 功能:支持根据帖子 ID 跳转到帖子页面 [`04e08090`](https://github.com/BTMuli/Tauri.Genshin/commit/04e08090)
### Fix
- 样式:美化部分页面、组件样式
- 组件:优化素材日历组件 [`0c923060`](https://github.com/BTMuli/Tauri.Genshin/commit/0c923060)
- 样式:修复首页组件近期活动样式 [`20a2329e`](https://github.com/BTMuli/Tauri.Genshin/commit/20a2329e)
- 样式:美化米游社咨讯页面样式,增加部分数据
### Change
- 依赖:各依赖更新至最新版本
- 配置:优化 Eslint Prettier Stylelint Lint-Staged 等配置
- 重构:重构 Mys 插件数据类型及 Hutao 插件数据类型
Full Commits: [`v0.2.0...v0.2.1`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.2.0...v0.2.1)
## [0.2.0](https://github.com/BTMuli/Tauri.Genshin/releases/v0.2.0) (2023-06-19)
### Feat
- 功能:完成原神战绩数据获取、分享
- 功能:完成角色列表数据获取、分享
- 功能:完成深渊数据获取、分享
- 组件:新建多种组件
- 功能:帖子&公告支持分享 [`5393dc1b`](https://github.com/BTMuli/Tauri.Genshin/commit/5393dc1b)
- 页面:帖子&公告页面样式调整
### Fix
- 卡牌:更新遗漏卡牌 [`2b768bbf`](https://github.com/BTMuli/Tauri.Genshin/commit/2b768bbf)
- 数据:`ltoken`失效时自动更新 [`6a4ab1f0`](https://github.com/BTMuli/Tauri.Genshin/commit/6a4ab1f0)
- 应用:修复自动更新无效问题 [`9eec6258`](https://github.com/BTMuli/Tauri.Genshin/commit/9eec6258)
- 应用:支持深渊数据备份&恢复 [`44f715f4`](https://github.com/BTMuli/Tauri.Genshin/commit/44f715f4)
- 数据库:修复更新时间 `dev` 开头仍然存储的问题 [`32e3548b`](https://github.com/BTMuli/Tauri.Genshin/commit/32e3548b)
### Change
- 类型:更新部分类型定义
- 资源:成就系列图标目录变更
- 资源:字体文件变更 [`2ee48566`](https://github.com/BTMuli/Tauri.Genshin/commit/2ee48566)
Full Commits: [`v0.1.6...v0.2.0`](https://github.com/BTMuli/Tauri.Genshin/compare/v0.1.6...v0.2.0)

View File

@@ -2,26 +2,38 @@
Author: 目棃
Date: 2023-03-10
Description: 项目资源说明
Update: 2023-08-31
Update: 2023-09-08
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-10 22:05:44`
>
> 更新于 `2023-08-31 11:28:01`
> 更新于 `2023-09-08 09:44:56`
## 说明
本文档用于说明项目原始资源来源。
以下提及到的 JSON 数据均经过处理,并未直接作为项目 JSON 数据使用。
以下提及到的图像资源,除个人绘制 SVG 外,均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
相关仓库:
- [TGAssistant](https://github.com/BTMuli/TGAssistant):项目下游仓库,用于处理项目数据。
- [Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata):胡桃元数据仓库,项目大部分数据来源于此。
- [Snap.Static](https://github.com/DGP-Studio/Snap.Static):胡桃静态资源仓库,项目部分图像资源来源于此。
> 如下 JSON 均经过处理,并未直接作为项目 JSON 数据使用。
>
> 如下图像均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
## 字体
[个人非商用授权](https://www.hanyi.com.cn/faq-doc-1) - 北京汉仪创新科技股份有限公司 版权所有
- 汉仪文黑-85W
- 汉仪文黑-55W
[SIL Open Font License 1.1](https://github.com/JetBrains/JetBrainsMono/blob/master/OFL.txt) - 开源字体,可用于商业用途
- JetBrains Mono
- JetBrains Mono Bold
## 侧边栏图标

View File

@@ -1,11 +0,0 @@
{
"version": "0.2.2",
"notes": "https://github.com/BTMuli/Tauri.Genshin/releases/tag/v0.2.2",
"pub_date": "2023-08-15T10:14:58.074Z",
"platforms": {
"windows-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSWkdzekNNZjh1aHR0bUFueFlVV0trZ1F6VzQvNk8vYjdpby95WWEyVXZ3U1pnazErVWRPVE5BcGNNOFRCdlVFb3FtRERZRkpITlhaSy9MYUNHakRzQlNVSXR6elJRL2c0PQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNjkyMDk0NDc5CWZpbGU6dGF1cmktZ2Vuc2hpbl8wLjIuMl94NjRfemgtQ04ubXNpLnppcApoUi9QVlduMkxKTDFERnBYc3U5WTg1eEFDWERWanA1QUhNZUpSb1ZsVG1jMHlMQ1RCMExZZ3dtclRuUktmak5HNkFFSmEwdytHYWRZZGZKcnRHTGFEdz09Cg==",
"url": "https://github.com/BTMuli/Tauri.Genshin/releases/download/v0.2.2/tauri-genshin_0.2.2_x64_zh-CN.msi.zip"
}
}
}

View File

@@ -1,10 +1,9 @@
{
"name": "tauri-genshin",
"name": "TeyvatGuide",
"version": "0.3.3",
"description": "A Genshin Tool build with Tauri",
"private": true,
"version": "0.2.3",
"author": "BTMuli <bt-muli@outlook.com>",
"packageManager": "pnpm@8.7.0",
"packageManager": "pnpm@8.9.2",
"scripts": {
"build": "tauri build",
"debug": "tauri build --debug",
@@ -17,71 +16,83 @@
"lint:style:fix": "pnpm lint:style --fix",
"prettier": "prettier . --write",
"tauri": "tauri",
"tauri:icon": "tauri icon ./public/icon.png",
"vite:dev": "vite dev",
"vite:build": "vite build",
"prepare": "husky install"
"prepare": "husky install",
"fix:pnpm": "pnpm add https://github.com/tauri-apps/tauri-plugin-sql#v1"
},
"lint-staged": {
"*.{ts,vue}": "eslint --fix",
"*.{vue,css}": "stylelint --fix",
"*.{ts,vue,css,yml,json,md}": "prettier --write"
},
"bugs": {
"url": "https://github.com/BTMuli/Tauri.Genshin/issues"
},
"directories": {
"doc": "docs"
},
"homepage": "https://github.com/BTMuli/Tauri.Genshin#readme",
"keywords": [
"Tauri",
"Genshin Impact",
"Node",
"Tauri",
"Typescript",
"Vite",
"Genshin Impact",
"Vuetify"
],
"author": "BTMuli <bt-muli@outlook.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/BTMuli/Tauri.Genshin.git"
"url": "https://github.com/BTMuli/TeyvatGuide.git"
},
"homepage": "https://github.com/BTMuli/TeyvatGuide#readme",
"bugs": {
"url": "https://github.com/BTMuli/TeyvatGuide/issues"
},
"directories": {
"doc": "docs"
},
"dependencies": {
"@mdi/font": "7.2.96",
"@tauri-apps/api": "^1.4.0",
"clipboard": "^2.0.11",
"color-convert": "^2.0.1",
"echarts": "^5.4.3",
"html2canvas": "^1.4.1",
"js-md5": "^0.7.3",
"js-md5": "^0.8.0",
"pinia": "^2.1.6",
"pinia-plugin-persistedstate": "^3.2.0",
"qrcode.vue": "^3.4.1",
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1",
"uuid": "^9.0.1",
"vue": "^3.3.4",
"vue-echarts": "^6.6.1",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.2.4",
"vuetify": "^3.3.14"
"vue-router": "^4.2.5",
"vuetify": "^3.3.19",
"wcag-color": "^1.1.1"
},
"devDependencies": {
"@tauri-apps/cli": "^1.4.0",
"@types/color-convert": "^2.0.1",
"@types/js-md5": "^0.7.0",
"@types/node": "^20.5.6",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vitejs/plugin-vue": "^4.3.3",
"@types/node": "^20.7.1",
"@types/uuid": "^9.0.5",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-vue": "^4.3.4",
"@vue/devtools": "^6.5.0",
"concurrently": "^8.2.1",
"eslint": "^8.48.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^38.0.0",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-jsonc": "^2.10.0",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.17.0",
"eslint-plugin-yml": "^1.10.0",
"husky": "^8.0.3",
"jsonc-eslint-parser": "^2.3.0",
"lint-staged": "^14.0.1",
"prettier": "3.0.2",
"prettier": "3.0.3",
"stylelint": "^15.10.3",
"stylelint-config-idiomatic-order": "^9.0.0",
"stylelint-config-standard-vue": "^1.0.0",
@@ -91,6 +102,7 @@
"stylelint-prettier": "^4.0.2",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-plugin-vuetify": "^1.0.2"
"vite-plugin-vuetify": "^1.0.2",
"yaml-eslint-parser": "^1.2.2"
}
}

1129
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Some files were not shown because too many files have changed in this diff Show More