Add Duplicacy

This commit is contained in:
Steffen Lange 2021-10-12 17:51:09 +02:00
parent 7756db3c09
commit 3ef1eabc58

15
modules/Duplicacy.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class Duplicacy extends PatchBase {
function __construct() {
parent::__construct('Acrosync LLC', 'Duplicacy', 'https://duplicacy.com/download.html');
$this->patch->setBranch('CLI');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/gilbertchen/duplicacy/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>