diff --git a/src/LegendaryLauncher.cs b/src/LegendaryLauncher.cs index cc41862..97820e4 100644 --- a/src/LegendaryLauncher.cs +++ b/src/LegendaryLauncher.cs @@ -59,8 +59,20 @@ public static string ClientExecPath } } - public static string HeroicLegendaryPath => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), - @"Programs\heroic\resources\app.asar.unpacked\build\bin\win32\"); + public static string HeroicLegendaryPath + { + get + { + var heroicResourcesBasePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), + @"Programs\heroic\resources\app.asar.unpacked\build\bin"); + var path = Path.Combine(heroicResourcesBasePath, @"win32\"); + if (!Directory.Exists(path)) + { + path = Path.Combine(heroicResourcesBasePath, @"x64\win32\"); + } + return path; + } + } public static string LauncherPath {