fix:修复崩溃自动重启的误判

This commit is contained in:
CJK_mkp
2025-06-13 09:19:44 +08:00
parent a9b64d2899
commit a9baf47823
10 changed files with 13 additions and 55 deletions
@@ -1585,7 +1585,7 @@ namespace Ink_Canvas {
public void BtnRestart_Click(object sender, RoutedEventArgs e) {
Process.Start(System.Windows.Forms.Application.ExecutablePath, "-m");
App.IsAppExitByUser = true;
CloseIsFromButton = true;
Application.Current.Shutdown();
}