From e97c63c07797c7beb2efcfdf037895f4da19b228 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 13 Apr 2022 14:46:30 +0300 Subject: [PATCH] test --- src/UniversalValveToolbox/UI/FormMain.cs | 18 +++++++++--------- .../UniversalValveToolbox.csproj | 3 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/UniversalValveToolbox/UI/FormMain.cs b/src/UniversalValveToolbox/UI/FormMain.cs index 4ff3fff..a67ad62 100644 --- a/src/UniversalValveToolbox/UI/FormMain.cs +++ b/src/UniversalValveToolbox/UI/FormMain.cs @@ -388,15 +388,15 @@ namespace UniversalValveToolbox { if (!finalArg.Contains("-game")) { finalArg += $" -game \"{SelectedProject?.Path ?? string.Empty}\" "; } - - SteamClient.Shutdown(); - SteamClient.Init(Convert.ToUInt32(SelectedEngine.Appid)); - var process = Process.Start(toolPath, finalArg); - process.EnableRaisingEvents = true; - process.Exited += (a, b) => { - SteamClient.Shutdown(); - SteamClient.Init(480); - }; + Process.Start(toolPath, finalArg); + // SteamClient.Shutdown(); + // SteamClient.Init(Convert.ToUInt32(SelectedEngine.Appid)); + // var process = Process.Start(toolPath, finalArg); + // process.EnableRaisingEvents = true; + // process.Exited += (a, b) => { + // SteamClient.Shutdown(); + // SteamClient.Init(480); + // }; } else diff --git a/src/UniversalValveToolbox/UniversalValveToolbox.csproj b/src/UniversalValveToolbox/UniversalValveToolbox.csproj index e306fda..f4428a0 100644 --- a/src/UniversalValveToolbox/UniversalValveToolbox.csproj +++ b/src/UniversalValveToolbox/UniversalValveToolbox.csproj @@ -363,6 +363,9 @@ Always + + Always +