Add Stellarium

This commit is contained in:
Steffen Lange 2022-01-06 17:21:20 +01:00
parent f95cb1fae0
commit 0d958e5407

14
modules/Stellarium.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Stellarium extends PatchBase {
function __construct() {
parent::__construct('Fabien Chereau', 'Stellarium', 'https://stellarium.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/Stellarium/stellarium/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>