PatchBot/modules/Duplicati.php
2025-10-27 12:09:35 +01:00

14 lines
367 B
PHP

<?php
class Duplicati extends PatchBase {
function __construct() {
parent::__construct('Duplicati Team', 'Duplicati', 'https://www.duplicati.com/download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/duplicati/duplicati/releases/latest'))
return $this->parse_json('tag_name', '/(.+)_stable/');
return false;
}
}
?>