diff --git a/app.go b/app.go index c55819f..a2ed46a 100644 --- a/app.go +++ b/app.go @@ -22,7 +22,7 @@ type RawReleaseInfo struct { // App struct type App struct { latestReleaseJson []RawReleaseInfo - rlbotAddress string + rlbotAddress string } func (a *App) IgnoreMe( @@ -344,6 +344,9 @@ func (a *App) StartMatch(options StartMatchOptions) Result { launcher = flat.LauncherSteam case "epic": launcher = flat.LauncherEpic + case "legendary", "heroic": + launcher = flat.LauncherCustom + options.LauncherArg = options.Launcher case "custom": launcher = flat.LauncherCustom case "nolaunch": diff --git a/loadout.go b/loadout.go index eabbe27..452b4d3 100644 --- a/loadout.go +++ b/loadout.go @@ -65,6 +65,9 @@ func (options LoadoutPreviewOptions) GetPreviewMatch(existingMatchBehavior flat. launcher = flat.LauncherSteam case "epic": launcher = flat.LauncherEpic + case "legendary", "heroic": + launcher = flat.LauncherCustom + options.LauncherArg = options.Launcher case "custom": launcher = flat.LauncherCustom case "nolaunch":