Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #135 from Tropicalista/patch-4
Browse files Browse the repository at this point in the history
Update FinalInstallManager.php
  • Loading branch information
rashidlaasri authored Jan 25, 2018
2 parents 33911fb + c3335a4 commit 7a6ef53
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Helpers/FinalInstallManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ public function runFinal()
private static function generateKey($outputLog)
{
try{
Artisan::call('key:generate', ["--force"=> true], $outputLog);
if (config('installer.final.key')){
Artisan::call('key:generate', ["--force"=> true], $outputLog);
}
}
catch(Exception $e){
return $this->response($e->getMessage());
Expand All @@ -50,7 +52,9 @@ private static function generateKey($outputLog)
private static function publishVendorAssets($outputLog)
{
try{
Artisan::call('vendor:publish', ['--all' => true], $outputLog);
if (config('installer.final.publish')){
Artisan::call('vendor:publish', ['--all' => true], $outputLog);
}
}
catch(Exception $e){
return $this->response($e->getMessage());
Expand Down

0 comments on commit 7a6ef53

Please sign in to comment.