Revert "fix:issue #110"

This reverts commit f8e4732dcd.
This commit is contained in:
2025-07-29 02:33:19 +08:00
parent 506ba52502
commit 7182f3554a
3 changed files with 11 additions and 16 deletions
+3 -3
View File
@@ -423,7 +423,7 @@ namespace Ink_Canvas
try
{
string exePath = Process.GetCurrentProcess().MainModule.FileName;
Process.Start(exePath, "-m");
Process.Start(exePath);
}
catch { }
Environment.Exit(1);
@@ -654,7 +654,7 @@ namespace Ink_Canvas
try
{
string exePath = Process.GetCurrentProcess().MainModule.FileName;
Process.Start(exePath, "-m");
Process.Start(exePath);
}
catch { }
Environment.Exit(1);
@@ -714,7 +714,7 @@ namespace Ink_Canvas
Environment.Exit(1);
}
string exePath = Process.GetCurrentProcess().MainModule.FileName;
Process.Start(exePath, "-m");
Process.Start(exePath);
}
// CrashActionType.NoAction 时不重启,直接退出
}