Vaultwarden: renaming of web vault builds
This commit is contained in:
parent
4845cf3cdb
commit
54badca38b
1 changed files with 2 additions and 2 deletions
15
modules/VaultwardenWeb.php
Normal file
15
modules/VaultwardenWeb.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue