improve:自动更新

This commit is contained in:
2025-08-30 14:56:59 +08:00
parent 7095a5890c
commit 1a3130041f
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -843,7 +843,7 @@ namespace Ink_Canvas
App.IsAppExitByUser = true;
// 准备批处理脚本
AutoUpdateHelper.InstallNewVersionApp(AvailableLatestVersion, false);
AutoUpdateHelper.InstallNewVersionApp(AvailableLatestVersion, true); // 修改为静默模式,避免重复启动进程
// 关闭软件,让安装程序接管
Application.Current.Shutdown();