void LoadManifest() { var configPath = InstallBase.GetChildDirectoryWithName("SteamApps").GetChildFileWithName("appmanifest_" + AppId + ".acf"); AppManifest = KeyValueHelper.LoadFromFile(configPath); }
KeyValue ReadSteamConfig() { if ((_steamPath == null) || !_steamPath.Exists) { return(null); } var steamConfigPath = _steamPath.GetChildDirectoryWithName("config").GetChildFileWithName("config.vdf"); return(steamConfigPath.Exists ? KeyValueHelper.LoadFromFile(steamConfigPath) : null); }