PatchBot/modules/BitwardenWeb.php

15 lines
416 B
PHP

<?php
class BitwardenWeb extends PatchBase {
function __construct() {
parent::__construct('Daniel García', 'Bitwarden in Rust', 'https://github.com/dani-garcia/bitwarden_rs');
$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;
}
}
?>