Skip to content

Commit

Permalink
Final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
PadowYT2 committed Jan 19, 2024
1 parent 656a01e commit 4e19992
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/Commands/QuantumBuilding.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ function installedRHEL($packageName)
system('yarn && yarn build:production');
}

if ($code === 0)
return 0;

return 1;
return;
}
}
10 changes: 5 additions & 5 deletions src/Commands/QuantumInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ public function handle()

$progress->advance();

spin(
fn() => Artisan::call('quantum:build --no-copyright'),
'Building Assets (This can take a few minutes)'
);
info('Building Assets (This can take a few minutes)');
Artisan::call('quantum:build --no-copyright');

$progress->advance();

info('Installation Complete');
exec('php artisan up');

info('Installation of Quantum has been complete. Please check if there are any errors');
}

private function ip()
Expand Down
2 changes: 2 additions & 0 deletions src/Commands/QuantumUninstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ public function handle()

$progress->finish();

exec('php artisan up');

info('Pterodactyl has been reverted to default and updated to the latest version');
return;
}
Expand Down

0 comments on commit 4e19992

Please sign in to comment.