From b3203ad84865fd12dc869aeed4eae02c0ef230f1 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Thu, 1 May 2025 22:57:27 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20VC++=E6=89=A7=E8=A1=8C=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=84=9A=E6=9C=AC=E6=9A=B4=E9=9C=B2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/Bootstrapper.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/MaaWpfGui/Main/Bootstrapper.cs b/src/MaaWpfGui/Main/Bootstrapper.cs index f3bcee9c69..b68066b59e 100644 --- a/src/MaaWpfGui/Main/Bootstrapper.cs +++ b/src/MaaWpfGui/Main/Bootstrapper.cs @@ -208,15 +208,7 @@ namespace MaaWpfGui.Main WindowStyle = ProcessWindowStyle.Normal, // 显示窗口让用户看到进度 }; - try - { - // 启动进程 - Process process = Process.Start(startInfo); - } - catch - { - // ignored - } + Process.Start(startInfo); } Shutdown();