PatchBot/modules/TigerVNC.php

14 lines
333 B
PHP

<?php
class TigerVNC extends PatchBase {
function __construct() {
parent::__construct('TigerVNC Team', 'TigerVNC', 'https://tigervnc.org/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/TigerVNC/tigervnc/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>