From 6b78c36cf6e92f1904509740df9b0ea8bc03e755 Mon Sep 17 00:00:00 2001 From: Nico Welles Date: Fri, 22 Sep 2023 14:10:05 +0200 Subject: [PATCH] Fix game download script --- Download-Game.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Download-Game.ps1 b/Download-Game.ps1 index 960f6dd..fdbedf3 100644 --- a/Download-Game.ps1 +++ b/Download-Game.ps1 @@ -53,4 +53,4 @@ $GameDirectory = If ($Branch -eq "stable") { "bannerlord-stable" } ElseIf ($Bran $GameBranch = If ($Branch -eq "stable") { "public" } ElseIf ($Branch -eq "beta") { $CurrentBeta } Else { throw "Invalid branch name!" } -Write-Host "$PWD\bin\steamcmd\steamcmd.exe" +force_install_dir "$PWD\bin\$GameDirectory" +login $Credentials[0] $Credentials[1] "+app_update 261550 -beta $GameBranch" +quit +"$PWD\bin\steamcmd\steamcmd.exe" +force_install_dir "$PWD\bin\$GameDirectory" +login $Credentials[0] $Credentials[1] "+app_update 261550 -beta $GameBranch validate" +quit