PatchBot/modules/NAPS2.php
2025-05-11 14:02:41 +02:00

14 lines
337 B
PHP

<?php
class NAPS2 extends PatchBase {
function __construct() {
parent::__construct('NAPS2 Contributors', 'NAPS2', 'https://www.naps2.com/download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/cyanfish/naps2/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>