diff --git a/src/Commands/Steam/StartDownloading.php b/src/Commands/Steam/StartDownloading.php index 8be142b..0c9e8ad 100644 --- a/src/Commands/Steam/StartDownloading.php +++ b/src/Commands/Steam/StartDownloading.php @@ -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(); @@ -241,4 +241,4 @@ private function displayAccountNotAuthorisedError(string $account) $this->comment('- Temporarily disable Steam Site License server, if you\'re using it'); $this->info(''); } -} \ No newline at end of file +}