Skip to content

Commit

Permalink
Steam detection causes issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GMatrixGames committed Nov 23, 2021
1 parent 2b41943 commit ba017a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FModel/ViewModels/GameSelectorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ private static List<string> GetSteamLibs()
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)
{
Expand Down

0 comments on commit ba017a4

Please sign in to comment.