AzuraCast/bin/installer

23 lines
535 B
Plaintext
Raw Normal View History

2021-07-08 22:03:54 +02:00
#!/usr/bin/env php
<?php
2021-07-19 07:53:45 +02:00
declare(strict_types=1);
2021-07-08 22:03:54 +02:00
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
2021-07-19 07:53:45 +02:00
ini_set('display_errors', '1');
2021-07-08 22:03:54 +02:00
$autoloader = require dirname(__DIR__) . '/vendor/autoload.php';
2023-11-02 14:22:32 +01:00
$environment = App\AppFactory::buildEnvironment();
2021-07-08 22:03:54 +02:00
2021-12-23 11:05:32 +01:00
$console = new Symfony\Component\Console\Application(
'AzuraCast installer',
2024-01-14 20:20:01 +01:00
App\Version::STABLE_VERSION
2021-07-08 22:03:54 +02:00
);
$installCommand = new App\Installer\Command\InstallCommand();
$installCommand->setEnvironment($environment);
$console->add($installCommand);
2021-12-23 11:05:32 +01:00
2021-07-08 22:03:54 +02:00
$console->run();