Some fixes for CLI installer (#1591)

* Some fixes for CLI installer

* Update CHANGELOG.md

* Update install.php

* Update README.md
This commit is contained in:
Roman Kelesidis 2024-08-12 04:05:04 +07:00 committed by GitHub
commit ba7c8616f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -230,7 +230,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
out('- Downloading Composer...', 'info');
if (copy('https://getcomposer.org/installer', BB_ROOT . 'composer-setup.php')) {
out("- Composer successfully downloaded!\n", 'success');
runProcess('php ' . BB_ROOT . 'composer-setup.php');
runProcess('php ' . BB_ROOT . 'composer-setup.php --install-dir=' . BB_ROOT);
} else {
out('- Cannot download Composer', 'error');
exit;