Skip to content

Commit

Permalink
fixes "Please use force_install_dir before logon!" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerrk committed Apr 13, 2022
1 parent f94fcf3 commit 8244ae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/Steam/StartDownloading.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public function handle()
$downloadPath = getenv('DOWNLOADS_DIRECTORY') . '/' . $item->platform . '/' . $item->app_id;

$steamCmd = (new SteamCmd(getenv('STEAMCMD_PATH')))
->directory($downloadPath)
->login($account)
->platform($item->platform)
->directory($downloadPath)
->update($item->app_id)
->run();

Expand Down Expand Up @@ -241,4 +241,4 @@ private function displayAccountNotAuthorisedError(string $account)
$this->comment('- Temporarily disable Steam Site License server, if you\'re using it');
$this->info('');
}
}
}

0 comments on commit 8244ae0

Please sign in to comment.