mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-15 12:53:51 +02:00
Update Folders.cs (#1081)
Fix resolution of SteamLibrary path in libraryfolders.vdf
This commit is contained in:
@@ -49,10 +49,10 @@ 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\""))
|
||||
{
|
||||
@@ -228,4 +228,4 @@ namespace VRCX
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user