From 48ac1d96c4804fbd13d512285f787168195a02cb Mon Sep 17 00:00:00 2001 From: Rankyn Bass Date: Thu, 21 Sep 2023 21:54:30 -0700 Subject: [PATCH] Only check for mangohud installation once --- src/XIVLauncher.Core/UnixCompatibility/Dxvk.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/XIVLauncher.Core/UnixCompatibility/Dxvk.cs b/src/XIVLauncher.Core/UnixCompatibility/Dxvk.cs index a68d3ac3..ac01cf9c 100644 --- a/src/XIVLauncher.Core/UnixCompatibility/Dxvk.cs +++ b/src/XIVLauncher.Core/UnixCompatibility/Dxvk.cs @@ -35,7 +35,7 @@ public static class Dxvk _ => throw new ArgumentOutOfRangeException(), }; - public static bool MangoHudInstalled => DxvkSettings.MangoHudIsInstalled(); + public static bool MangoHudInstalled { get; } public static bool MangoHudEnabled => Program.Config.MangoHud != MangoHud.None; @@ -62,6 +62,7 @@ public static class Dxvk static Dxvk() { Versions = new Dictionary>(); + MangoHudInstalled = DxvkSettings.MangoHudIsInstalled(); } public static void Initialize()