Add Duplicacy
This commit is contained in:
parent
7756db3c09
commit
3ef1eabc58
1 changed files with 15 additions and 0 deletions
15
modules/Duplicacy.php
Normal file
15
modules/Duplicacy.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue