From 09774a2791dc922d52527dbb09a4643074e50c1f Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Fri, 19 Apr 2024 14:03:38 +0300 Subject: [PATCH] Fixed Steam discovery --- src/Bannerlord.LauncherManager/Utils/ModulePathProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bannerlord.LauncherManager/Utils/ModulePathProvider.cs b/src/Bannerlord.LauncherManager/Utils/ModulePathProvider.cs index a2208ad..4692278 100644 --- a/src/Bannerlord.LauncherManager/Utils/ModulePathProvider.cs +++ b/src/Bannerlord.LauncherManager/Utils/ModulePathProvider.cs @@ -57,7 +57,7 @@ public IEnumerable GetModulePaths() var steamApps = installPath.Substring(0, installPath.IndexOf("common", StringComparison.Ordinal)); var workshopDir = Path.Combine(steamApps, "workshop", "content", "261550"); - var directories = _handler.ReadDirectoryFileList(workshopDir); + var directories = _handler.ReadDirectoryList(workshopDir); // Optional //if (directories is null) throw new DirectoryNotFoundException($"installPath: {installPath}. Steam's Modules directory not found!"); if (directories is null) yield break;