Skip to content

Commit 88c4dfe

Browse files
committed
feat: impl XL_PLATFORM for Linux
XL_PLATFORM for windows was implemented via a seperate PR at goatcorp/FFXIVQuickLauncher#1648. XoM uses their own fork of XLCommon that isn't the one in this repository, so it's fine to assume its only Linux here I think, I don't know anyone using this on a Mac
1 parent 6afb0a4 commit 88c4dfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/XIVLauncher.Common.Unix/UnixGameRunner.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Collections.Generic;
22
using System.Diagnostics;
33
using System.IO;
4+
45
using XIVLauncher.Common.Dalamud;
56
using XIVLauncher.Common.PlatformAbstractions;
67
using XIVLauncher.Common.Unix.Compatibility;
@@ -24,6 +25,7 @@ public UnixGameRunner(CompatibilityTools compatibility, DalamudLauncher dalamudL
2425
{
2526
if (dalamudOk)
2627
{
28+
environment.Add("XL_PLATFORM", "Linux");
2729
return this.dalamudLauncher.Run(new FileInfo(path), arguments, environment);
2830
}
2931
else

0 commit comments

Comments
 (0)