From bb2901b5873dc01810f1fdd21692ff4317dc0176 Mon Sep 17 00:00:00 2001 From: cooolbros Date: Wed, 3 Jan 2024 15:17:27 +1100 Subject: [PATCH] Temp fix library folder path --- src/HUDMerger/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HUDMerger/App.xaml.cs b/src/HUDMerger/App.xaml.cs index 17706a6..47289bb 100644 --- a/src/HUDMerger/App.xaml.cs +++ b/src/HUDMerger/App.xaml.cs @@ -52,7 +52,7 @@ public partial class App : Application string libraryFolderPath = libraryFolder.First((kv) => kv.Key.Equals("path", StringComparison.OrdinalIgnoreCase) && kv.Value is string str).Value; - string libraryFolderTeamFortress2Path = $"{libraryFolderPath}\\steamapps\\common\\Team Fortress 2"; + string libraryFolderTeamFortress2Path = $"{libraryFolderPath.Replace("\\\\", "\\")}\\steamapps\\common\\Team Fortress 2"; if (Directory.Exists(libraryFolderTeamFortress2Path)) { teamFortress2Folder = libraryFolderTeamFortress2Path;