PatchBot/modules/TurboVNC.php

14 lines
339 B
PHP

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