From a241a37ce2090011ae582ae7603be08e47d44805 Mon Sep 17 00:00:00 2001 From: Dimitar Topalov Date: Thu, 22 Feb 2024 17:08:35 +0200 Subject: [PATCH] Update BassetInstall.php Fixed composer command to use provided PHP version --- src/Console/Commands/BassetInstall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Commands/BassetInstall.php b/src/Console/Commands/BassetInstall.php index c4807d8..e5ab7f9 100644 --- a/src/Console/Commands/BassetInstall.php +++ b/src/Console/Commands/BassetInstall.php @@ -104,7 +104,7 @@ private function addComposerCommand(): void if ($this->components->confirm('You will need to run `php artisan storage:link` on every server you deploy the app to. Do you wish to add that command to composer.json\' post-install-script, to make that automatic?', true)) { $this->components->task($message, function () { - $process = new Process(['composer', 'config', 'scripts.post-install-cmd.-1', 'php artisan storage:link --quiet']); + $process = new Process(['composer', 'config', 'scripts.post-install-cmd.-1', '@php artisan storage:link --quiet']); $process->run(); }); }