PatchBot/modules/WinMerge.php
2020-10-06 22:44:24 +02:00

14 lines
355 B
PHP

<?php
class WinMerge extends PatchBase {
function __construct() {
parent::__construct('WinMerge Development Team', 'WinMerge', 'https://winmerge.org/downloads/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/winmerge/winmerge/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>