PatchBot/modules/Stellarium.php
2022-01-06 17:21:20 +01:00

14 lines
343 B
PHP

<?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;
}
}
?>