PatchBot/modules/BitwardenRust.php

14 lines
377 B
PHP

<?php
class BitwardenRust extends PatchBase {
function __construct() {
parent::__construct('Daniel García', 'Bitwarden in Rust', 'https://github.com/dani-garcia/bitwarden_rs');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/dani-garcia/bitwarden_rs/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>