Add Celestia

This commit is contained in:
Steffen Lange 2023-02-20 13:47:06 +01:00
parent d67ff2b82e
commit ba9d82662e

14
modules/Celestia.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Celestia extends PatchBase {
function __construct() {
parent::__construct('Celestia Development Team', 'Celestia', 'https://celestia.space/download.html');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/CelestiaProject/Celestia/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>