Add NAPS2

This commit is contained in:
Steffen Lange 2025-05-11 14:02:41 +02:00
parent e7e0804d1c
commit fe0303bcbb

14
modules/NAPS2.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>