PatchBot/modules/OpenShot.php
2021-03-11 11:03:33 +01:00

14 lines
363 B
PHP

<?php
class OpenShot extends PatchBase {
function __construct() {
parent::__construct('Jonathan Thomas', 'OpenShot Video Editor', 'https://www.openshot.org/download/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/OpenShot/openshot-qt/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>