Skip to content

Commit

Permalink
Hopeful fix for steam game launch
Browse files Browse the repository at this point in the history
  • Loading branch information
Yelo420 committed Jan 15, 2025
1 parent 6ca0893 commit 93328c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gamevault/Helper/ProcessHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ internal static Process StartApp(string fileName, string parameter = "", bool as
}
app.FileName = fileName;
app.WorkingDirectory = Path.GetDirectoryName(fileName);
app.UseShellExecute = false;
app.UseShellExecute = true;
app.WindowStyle = ProcessWindowStyle.Maximized;
if (asAdmin)
{
app.Verb = "runas";
Expand Down

0 comments on commit 93328c1

Please sign in to comment.