fresh/bin/freshdocker

25 lines
625 B
Plaintext
Raw Normal View History

2022-03-07 21:45:54 +00:00
#!/usr/bin/env php
<?php
require_once __DIR__."/../vendor/autoload.php";
if (file_exists(__DIR__."/../src/version.php")) {
require_once __DIR__."/../src/version.php";
if (PHAR::running()) {
require_once __DIR__."/../src/swup.php";
SWUP::register([
'url' => "https://files.noccylabs.info/.repo",
'channel' => 'beta',
'package' => 'fresh',
'version' => APP_VERSION,
'phar' => 'fresh.phar'
]);
}
} else {
define("APP_VERSION", "DEV");
define("BUILD_DATE", "src");
2022-03-07 21:45:54 +00:00
}
$r = new NoccyLabs\FreshDocker\Refresher();
$r->run();