14 lines
344 B
PHP
14 lines
344 B
PHP
<?php
|
|
|
|
class Tiled extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Thorbjørn Lindeijer', 'Tiled Map Editor', 'https://www.mapeditor.org/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://api.github.com/repos/bjorn/tiled/releases/latest', true))
|
|
return $this->parse_json('tag_name');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|