public string GetGameEXE(GameModel model)
{
if (model == null) {
throw new ArgumentException("model argument cannot be null");
}
IConfiguration config = GetConfiguration(model);
string gamePath = GetGamePath(model);
if (string.IsNullOrEmpty(gamePath)) {
return null;
}
return Path.Combine(gamePath, config.GameExecutable);
}