public ModManager() { _steam = new SteamLocator(); _thunderstoreClient = new ThunderstoreClient(); Mods = new HashSet <ModPackage>(); }
public override List <string> Configure() { var gsiDir = $"{SteamLocator.FindGame(SteamId)}\\game\\dota\\cfg\\gamestate_integration\\"; Directory.CreateDirectory(gsiDir); File.WriteAllText($"{gsiDir}\\{FileName}", Config); return(new List <string> { $"{gsiDir}\\{FileName}" }); }
public override bool IsConfigured() => File.Exists($"{SteamLocator.FindGame(SteamId)}\\game\\dota\\cfg\\gamestate_integration\\{FileName}");
public override bool IsConfigured() => File.Exists($"{SteamLocator.FindGame(SteamId)}\\csgo\\cfg\\{FileName}");