PatchBot/modules/OBSStudio.php
2020-05-21 14:15:06 +02:00

14 lines
360 B
PHP

<?php
class OBSStudio extends PatchBase {
function __construct() {
parent::__construct('OBS Studio Contributors', 'OBS Studio', 'https://obsproject.com/download');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/obsproject/obs-studio/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>