Add OpenCloud

This commit is contained in:
Steffen Lange 2025-04-12 18:06:38 +02:00
parent 0bf55d8457
commit 6fcadad78a

14
modules/OpenCloud.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class OpenCloud extends PatchBase {
function __construct() {
parent::__construct('OpenCloud GmbH', 'OpenCloud Server', 'https://opencloud.eu/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/opencloud-eu/opencloud/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>