try to fix update starting but failed

This commit is contained in:
2025-11-08 21:04:31 +08:00
parent 4c151c3dd5
commit cd19faba47
2 changed files with 3 additions and 3 deletions

View File

@@ -189,7 +189,7 @@ export function UpdateChecker({
try {
addToast({
title: "安装已启动",
description: "应用将在安装完成后动重启",
description: "安装完成后请手动重启应用",
color: "success",
})
@@ -199,7 +199,7 @@ export function UpdateChecker({
})
// 安装完成后,等待一小段时间确保安装程序完全退出
await new Promise((resolve) => setTimeout(resolve, 1500))
await new Promise((resolve) => setTimeout(resolve, 2500))
// 启动新版本
await relaunch()