🔧 版本号中转,用于过渡数据库更新

This commit is contained in:
目棃
2024-09-21 10:53:50 +08:00
parent 6d06bb7a21
commit b8f6f3b1e7
4 changed files with 6 additions and 5 deletions

2
src-tauri/Cargo.lock generated
View File

@@ -4,7 +4,7 @@ version = 3
[[package]]
name = "TeyvatGuide"
version = "0.5.5"
version = "0.5.6"
dependencies = [
"chrono",
"log",

View File

@@ -1,6 +1,6 @@
[package]
name = "TeyvatGuide"
version = "0.5.5"
version = "0.5.6"
description = "Game Tool for Genshin Impact player"
authors = ["BTMuli <bt-muli@outlook.com>"]
license = "MIT"

View File

@@ -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",

View File

@@ -256,7 +256,7 @@ async function checkUpdate(): Promise<void> {
await TGLogger.Info("[App][checkUpdate] 检测到版本更新!");
const confirm = await showConfirm({
title: "检测到版本更新",
text: "是否更新数据库数据?",
text: "是否更新数据库数据?(请确保成就数据已导出)",
});
if (!confirm) {
showSnackbar({
@@ -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");
}
}