Skip to content

Commit 3e856af

Browse files
authored
Remove return so that it can try again with wine, instead of wine64. (MonoGame#8676)
This commit removes an early return in the WineHelper.cs file to allow the process to retry with "wine" as the fallback executable instead of "wine64". Removed the return statement in the catch block so that after changing the executable to "wine", the program will continue to start the process. This change enables the intended retry logic for process execution.
1 parent 6d4ea1e commit 3e856af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/MonoGame.Effect.Compiler/WineHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ static WineHelper()
3232
catch (Exception)
3333
{
3434
proc.StartInfo.FileName = "wine";
35-
return;
3635
}
36+
3737
try {
3838
proc.Start();
3939
proc.WaitForExit();

0 commit comments

Comments
 (0)