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
@@ -340,7 +340,7 @@ namespace Ink_Canvas
downloadUrl = Path.Combine(updatesFolderPath, $"InkCanvasForClass.CE.{version}.zip");
}
LogHelper.WriteLogToFile($"AutoUpdate | 开始安装版本: {version}");
AutoUpdateHelper.InstallNewVersionApp(version, false);
AutoUpdateHelper.InstallNewVersionApp(version, true);
App.IsAppExitByUser = true;
Application.Current.Dispatcher.Invoke(() =>
{