perf: VC++执行安装脚本暴露错误

This commit is contained in:
status102
2025-05-01 22:57:27 +08:00
parent 89a42be269
commit b3203ad848

View File

@@ -208,15 +208,7 @@ namespace MaaWpfGui.Main
WindowStyle = ProcessWindowStyle.Normal, // 显示窗口让用户看到进度
};
try
{
// 启动进程
Process process = Process.Start(startInfo);
}
catch
{
// ignored
}
Process.Start(startInfo);
}
Shutdown();