AdvancedLauncher.Management.ConfigurationManager.GetLauncherEXE C# (CSharp) Method

GetLauncherEXE() public method

public GetLauncherEXE ( GameModel model ) : string
model AdvancedLauncher.SDK.Model.Config.GameModel
return string
        public string GetLauncherEXE(GameModel model)
        {
            if (model == null) {
                throw new ArgumentException("model argument cannot be null");
            }
            IConfiguration config = GetConfiguration(model);
            string path = GetLauncherPath(model);
            if (string.IsNullOrEmpty(path)) {
                return null;
            }
            return Path.Combine(path, config.LauncherExecutable);
        }