14 lines
360 B
PHP
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;
|
|
}
|
|
}
|
|
|
|
?>
|