mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
handle null stream path
This commit is contained in:
parent
c1d7d4ee35
commit
ae4aebd5ce
|
|
@ -283,6 +283,7 @@ namespace FModel.ViewModels
|
|||
private static List<string> GetSteamLibs()
|
||||
{
|
||||
var steamPath = GetSteamPath();
|
||||
if (steamPath == null) return new List<string>();
|
||||
var libraries = new List<string> { steamPath };
|
||||
|
||||
var listFile = Path.Combine(steamPath, @"steamapps\libraryfolders.vdf");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user