Steam detection causes issues

This commit is contained in:
GMatrixGames 2021-11-23 08:16:27 -05:00 committed by GitHub
parent 2b41943c01
commit ba017a4efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,6 +287,7 @@ namespace FModel.ViewModels
var libraries = new List<string> { steamPath };
var listFile = Path.Combine(steamPath, @"steamapps\libraryfolders.vdf");
if (!File.Exists(listFile)) return new List<string>();
var lines = File.ReadAllLines(listFile);
foreach (var line in lines)
{