Update Folders.cs (#1081)

Fix resolution of SteamLibrary path in libraryfolders.vdf
This commit is contained in:
Donad_VR
2025-01-13 16:23:47 +01:00
committed by GitHub
parent dacc6a8637
commit dfd695618c

View File

@@ -50,9 +50,9 @@ namespace VRCX
if (!File.Exists(libraryFoldersVdfPath))
return null;
string? libraryPath = null;
foreach (var line in File.ReadLines(libraryFoldersVdfPath))
{
string? libraryPath = null;
// Assumes line will be \t\t"path"\t\t"pathToLibrary"
if (line.Contains("\"path\""))
{