mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
Updated the mod filter page to only show SPT versions that have been tagged by mod versions.
23 lines
573 B
PHP
23 lines
573 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use App\Jobs\ResolveDependenciesJob;
|
|
use App\Jobs\ResolveSptVersionsJob;
|
|
use Illuminate\Console\Command;
|
|
|
|
class ResolveVersionsCommand extends Command
|
|
{
|
|
protected $signature = 'app:resolve-versions';
|
|
|
|
protected $description = 'Resolve SPT and dependency versions for all mods.';
|
|
|
|
public function handle(): void
|
|
{
|
|
ResolveSptVersionsJob::dispatch()->onQueue('default');
|
|
ResolveDependenciesJob::dispatch()->onQueue('default');
|
|
|
|
$this->info('The import job has been added to the queue.');
|
|
}
|
|
}
|