Add TigerVNC + TurboVNC

This commit is contained in:
Steffen Lange 2021-01-23 15:18:14 +01:00
parent 844c51f943
commit a00f78bf0b
2 changed files with 28 additions and 0 deletions

14
modules/TigerVNC.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>

14
modules/TurboVNC.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>