diff --git a/src/XIVLauncher.Common.Windows/WindowsGameRunner.cs b/src/XIVLauncher.Common.Windows/WindowsGameRunner.cs index 229fcc943..164ae9b34 100644 --- a/src/XIVLauncher.Common.Windows/WindowsGameRunner.cs +++ b/src/XIVLauncher.Common.Windows/WindowsGameRunner.cs @@ -32,6 +32,7 @@ public Process Start(string path, string workingDirectory, string arguments, IDi _ => throw new ArgumentOutOfRangeException() }; environment.Add("__COMPAT_LAYER", compat); + environment.Add("XL_PLATFORM", "Windows"); var prevDalamudRuntime = Environment.GetEnvironmentVariable("DALAMUD_RUNTIME"); if (string.IsNullOrWhiteSpace(prevDalamudRuntime)) @@ -44,4 +45,4 @@ public Process Start(string path, string workingDirectory, string arguments, IDi return NativeAclFix.LaunchGame(workingDirectory, path, arguments, environment, dpiAwareness, process => { }); } } -} \ No newline at end of file +}