Add Tiled
This commit is contained in:
parent
0e9dbcd8ca
commit
d798fd50f8
1 changed files with 14 additions and 0 deletions
14
modules/Tiled.php
Normal file
14
modules/Tiled.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue