Add PDFsam

This commit is contained in:
Steffen Lange 2023-10-06 13:58:16 +02:00
parent 1dc817532f
commit 7774b4e105

15
modules/PDFsam.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class PDFsam extends PatchBase {
function __construct() {
parent::__construct('Sober Lemur S.r.l.', 'PDFsam', 'https://pdfsam.org/download-pdfsam-basic/');
$this->patch->setBranch('Basic');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/torakiki/pdfsam/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>