PatchBot/modules/Duplicacy.php
2021-10-12 17:51:09 +02:00

15 lines
385 B
PHP

<?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;
}
}
?>