From 7d21042d9706b887673020f1e2ec7c09b7d76d7d Mon Sep 17 00:00:00 2001 From: Rankyn Bass Date: Sat, 29 Jul 2023 21:25:41 -0700 Subject: [PATCH] Add fix for proton-wine 8 --- src/XIVLauncher.Common.Unix/Compatibility/CompatibilityTools.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XIVLauncher.Common.Unix/Compatibility/CompatibilityTools.cs b/src/XIVLauncher.Common.Unix/Compatibility/CompatibilityTools.cs index 266772c5..77924015 100644 --- a/src/XIVLauncher.Common.Unix/Compatibility/CompatibilityTools.cs +++ b/src/XIVLauncher.Common.Unix/Compatibility/CompatibilityTools.cs @@ -266,7 +266,7 @@ public Int32 GetUnixProcessId(Int32 winePid) { var wineDbg = RunInPrefix("winedbg --command \"info procmap\"", redirectOutput: true); var output = wineDbg.StandardOutput.ReadToEnd(); - if (output.Contains("syntax error\n")) + if (output.Contains("syntax error\n") || output.Contains("Exception c0000005")) // Proton8 wine changed the error message { var processName = GetProcessName(winePid); return GetUnixProcessIdByName(processName);