Vaultwarden: renaming of web vault builds

This commit is contained in:
Steffen Lange 2021-12-13 15:29:28 +01:00
parent 4845cf3cdb
commit 54badca38b

View file

@ -0,0 +1,15 @@
<?php
class VaultwardenWeb extends PatchBase {
function __construct() {
parent::__construct('Daniel García', 'Vaultwarden', 'https://github.com/dani-garcia/bw_web_builds');
$this->patch->setBranch('Web Vault');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/dani-garcia/bw_web_builds/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>