From 5f9c1d9aaa65e638fcba97dd993d3d3bde732a2b Mon Sep 17 00:00:00 2001 From: Vincent Date: Sun, 5 Apr 2020 12:18:45 +0200 Subject: [PATCH] . --- src/app/Console/Commands/Install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/Console/Commands/Install.php b/src/app/Console/Commands/Install.php index 9c5593e..c717da0 100644 --- a/src/app/Console/Commands/Install.php +++ b/src/app/Console/Commands/Install.php @@ -49,10 +49,9 @@ class Install extends BaseInstall $this->progressBar->advance(); $this->line(' Publishing assets'); - $this->executeProcess('php artisan vendor:publish --provider="Gaspertrix\Backpack\DropzoneField\DropzoneFieldServiceProvider" --tag="public"'); - + $this->executeArtisanProcess('vendor:publish', ['--provider' => "Gaspertrix\Backpack\DropzoneField\DropzoneFieldServiceProvider", '--tag' ==>"public"]); $this->line(' Publishing views'); - $this->executeProcess('php artisan vendor:publish --provider="Gaspertrix\Backpack\DropzoneField\DropzoneFieldServiceProvider" --tag="views"'); + $this->executeArtisanProcess('vendor:publish', ['--provider' => "Gaspertrix\Backpack\DropzoneField\DropzoneFieldServiceProvider", '--tag' ==>"views"]); $this->progressBar->finish(); $this->info(" Gaspertrix\Backpack\DropzoneField successfully installed."); -- 2.39.5