From 1d410b239df90d85f6a9e06534be5a6308d4c7eb Mon Sep 17 00:00:00 2001 From: Lyna <19539165+Blooym@users.noreply.github.com> Date: Thu, 28 Nov 2024 12:43:23 +0000 Subject: [PATCH] feat: impl XL_PLATFORM for windows --- src/XIVLauncher.Common.Windows/WindowsGameRunner.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +}