Skip to content

Commit

Permalink
🔧 版本号中转,用于过渡数据库更新
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Sep 21, 2024
1 parent 6d06bb7 commit b8f6f3b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "TeyvatGuide"
version = "0.5.5"
version = "0.5.6"
description = "Game Tool for Genshin Impact player"
authors = ["BTMuli <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"productName": "TeyvatGuide",
"identifier": "TeyvatGuide",
"version": "0.5.5",
"version": "0.5.6",
"build": {
"beforeDevCommand": "pnpm vite:dev",
"beforeBuildCommand": "pnpm vite:build",
Expand Down
5 changes: 3 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async function checkUpdate(): Promise<void> {
await TGLogger.Info("[App][checkUpdate] 检测到版本更新!");
const confirm = await showConfirm({
title: "检测到版本更新",
text: "是否更新数据库数据?",
text: "是否更新数据库数据?(请确保成就数据已导出)",
});
if (!confirm) {
showSnackbar({
Expand All @@ -273,7 +273,8 @@ async function checkUpdate(): Promise<void> {
color: "success",
timeout: 3000,
});
window.open("https://app.btmuli.ink/docs/Changelogs.html");
// todo 6.0发版时取消注释
// window.open("https://app.btmuli.ink/docs/Changelogs.html");
}
}
Expand Down

0 comments on commit b8f6f3b

Please sign in to comment.