Skip to content

Commit

Permalink
Minor tweaks to timeout and spin up
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlss committed Mar 9, 2024
1 parent 775e100 commit e90c49e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dgtlss/ezwizard",
"description": "Advanced Installation Wizard for Laravel",
"keywords": ["laravel", "wizard", "installation", "quality of life"],
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</a>
</p>

<h1 align="center">EzWizard v1.2.0</h1>
<h1 align="center">EzWizard v1.2.1</h1>

EzWizard is an automation tool for Laravel that simplifies the process of setting up your Laravel application by automating the installation of various Laravel packages. With EzWizard, you can easily add functionality to your projects, such as authentication, image manipulation, social login, PDF generation, and more, with minimal manual effort.

Expand Down
9 changes: 7 additions & 2 deletions src/Commands/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public function __construct()

public function handle()
{
// clear the console
$this->clear();

// Welcome message
$this->info('🧙‍♂️ Welcome to EzWizard v'.$this->version);

// See what laravel packages the user wants to install
Expand Down Expand Up @@ -72,9 +76,10 @@ private function artisanCommand($commandArray)
{
$command = $commandArray;
$process = new Process($command);
$process->setTty(true);
$process->setTimeout(300); // Timeout of 5 minutes
$process->setTty(true); // Enable TTY
$process->setWorkingDirectory(base_path()); // Ensure we are in the base directory of the Laravel project
$process->run();
$process->run(); // Run the command
}

/* Functions to install the various packages */
Expand Down

0 comments on commit e90c49e

Please sign in to comment.