PatchBot/modules/MVT.php
2023-12-29 23:51:04 +01:00

14 lines
336 B
PHP

<?php
class MVT extends PatchBase {
function __construct() {
parent::__construct('MVT Authors', 'Mobile Verification Toolkit', 'https://mvt.re/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/mvt-project/mvt/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>