diff --git a/app/Console/Commands/Core/Install.php b/app/Console/Commands/Core/Install.php index f84f822..10c5a83 100644 --- a/app/Console/Commands/Core/Install.php +++ b/app/Console/Commands/Core/Install.php @@ -21,15 +21,9 @@ class Install extends Command protected $versionChecker; protected $installationFile = 'app/installation'; - public function __construct() - { - parent::__construct(); - - $this->versionChecker = (new VersionChecker)->getVersions(); - } - public function handle() { + $this->init(); $this->intro(); $this->isInstalled(); $this->checkApplicationKey(); @@ -45,6 +39,11 @@ class Install extends Command $this->info('Visit your platform at ' . env('APP_URL')); } + protected function init() + { + $this->versionChecker = (new VersionChecker)->getVersions(); + } + protected function askAboutAdministrationAccount() { $this->info('Let\'s start by setting up your administration account.');