Add Duplicati
This commit is contained in:
parent
62e718332f
commit
d611cb2faf
1 changed files with 14 additions and 0 deletions
14
modules/Duplicati.php
Normal file
14
modules/Duplicati.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Duplicati extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Duplicati Team', 'Duplicati', 'https://www.duplicati.com/download');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://updates.duplicati.com/beta/latest-installers.js'))
|
||||
return $this->parse('/"version": "([\d\.]+)"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue