diff --git a/.github/workflows/bnetlauncher-build.yaml b/.github/workflows/bnetlauncher-build.yaml index 0ddb8a5..1fa200a 100644 --- a/.github/workflows/bnetlauncher-build.yaml +++ b/.github/workflows/bnetlauncher-build.yaml @@ -1,6 +1,6 @@ name: Build bnetlauncher -on: [push] +on: [push, workflow_dispatch] jobs: build: diff --git a/bnetlauncher/Clients/BnetClient2.cs b/bnetlauncher/Clients/BnetClient2.cs index 92777bf..ae6b7e9 100644 --- a/bnetlauncher/Clients/BnetClient2.cs +++ b/bnetlauncher/Clients/BnetClient2.cs @@ -63,13 +63,13 @@ public override bool Launch(string cmd) try { // This is the launch parameters used by the blizzard launchers like "World of Warcraft Launcher.exe" - // While the --game parameter is not suposed to be product code but a specific string like "wow_enus", - // "diablo3_enus" or "hs_beta" which means there's no patern to it or location i can extract it from. + // While the --game parameter is not supposed to be product code but a specific string like "wow_enus", + // "diablo3_enus" or "hs_beta" which means there's no pattern to it or location i can extract it from. // // However during testing while --game is required it's content doesn't seem to be used for anything // putting in any string would still launch the game correctly, so we just fill the product code so // it's not empty. - // The other two fields, gamepath and productcode must be correct tough. + // The other two fields, gamepath and productcode must be correct though. Process p = Process.Start(Path.Combine(InstallPath, Exe), $"--game={cmd} --gamepath=\"{path}\" --productcode={cmd}"); p.WaitForExit(); diff --git a/bnetlauncher/Resources/gamesdb.ini b/bnetlauncher/Resources/gamesdb.ini index 6b7b092..377ab14 100644 --- a/bnetlauncher/Resources/gamesdb.ini +++ b/bnetlauncher/Resources/gamesdb.ini @@ -143,6 +143,12 @@ client=epic cmd=Cowbird exe=BatmanAK.exe +[ebl3] +name=Borderlands 3 +client=epic +cmd=3A5cf86732e2744fec98a1c8a077d9f3a8 +exe=Borderlands3.exe + [dauntless] name=Dauntless client=epic