Add DBeaver

This commit is contained in:
Steffen Lange 2021-02-24 14:59:41 +01:00
parent 429dd3aaad
commit 73d25404d5

15
modules/DBeaver.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class DBeaver extends PatchBase {
function __construct() {
parent::__construct('DBeaver Corp', 'DBeaver', 'https://dbeaver.io/download/');
$this->patch->setBranch('Community Edition');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/dbeaver/dbeaver/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>