Skip to content

Commit

Permalink
Sort custom wine and dxvk alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
rankynbass committed Nov 11, 2023
1 parent e0afbd5 commit 8de0fee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/XIVLauncher.Core/UnixCompatibility/Dxvk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static void Initialize()
return;
}

foreach (var dxvkDir in toolDirectory.EnumerateDirectories())
foreach (var dxvkDir in toolDirectory.EnumerateDirectories().OrderBy(x => x.Name))
{
if (Directory.Exists(Path.Combine(dxvkDir.FullName, "x64")) && Directory.Exists(Path.Combine(dxvkDir.FullName, "x32")))
{
Expand Down
2 changes: 1 addition & 1 deletion src/XIVLauncher.Core/UnixCompatibility/Wine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static void Initialize()
return;
}

foreach (var wineDir in toolDirectory.EnumerateDirectories())
foreach (var wineDir in toolDirectory.EnumerateDirectories().OrderBy(x => x.Name))
{
if (File.Exists(Path.Combine(wineDir.FullName, "bin", "wine64")) ||
File.Exists(Path.Combine(wineDir.FullName, "bin", "wine")))
Expand Down

0 comments on commit 8de0fee

Please sign in to comment.