mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🔧 版本号中转,用于过渡数据库更新
This commit is contained in:
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -4,7 +4,7 @@ version = 3
|
||||
|
||||
[[package]]
|
||||
name = "TeyvatGuide"
|
||||
version = "0.5.5"
|
||||
version = "0.5.6"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"log",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user