diff --git a/src/Controller/BackupController.php b/src/Controller/BackupController.php index f250248..e3c463e 100644 --- a/src/Controller/BackupController.php +++ b/src/Controller/BackupController.php @@ -30,8 +30,6 @@ public function configureDatabaseDump(){ } else { (new Banner())->error('Failed to update config file'); } - } else { - (new Banner())->error('Configuration already exsists'); - } + } } } diff --git a/src/RapidKitProvider.php b/src/RapidKitProvider.php index 94509bc..f2b35f3 100644 --- a/src/RapidKitProvider.php +++ b/src/RapidKitProvider.php @@ -4,6 +4,8 @@ use Illuminate\Support\Facades\Artisan; use Illuminate\Support\ServiceProvider; +use Intelrx\Rapidkit\assets\Banner; +use Intelrx\Rapidkit\Config\Config; use Intelrx\Rapidkit\Console\Commands\InitilizeCommand; use Intelrx\Rapidkit\Console\Commands\ResourceGeneratorCommand; use Intelrx\Rapidkit\Console\Commands\RapidKitSupportCommand; @@ -30,7 +32,9 @@ public function boot(): void RapidKitSupportCommand::class, ]); - Artisan::call("rapid:install"); + (new Banner())->renderTitle('RapidKit is ready to use!'); + (new Banner())->line("LARAVEL RAPID KIT " . Config::VERSION); + (new Banner())->line("Type 'php artisan rapid:install' to install and configure RapidKit package."); }