Compare commits

...

2 commits

Author SHA1 Message Date
Steffen Lange
eb8c397577 UVNC: update regex 2025-07-05 15:38:31 +02:00
Steffen Lange
2077144911 Tftpd64: fetch github api 2025-07-05 15:38:12 +02:00
2 changed files with 4 additions and 4 deletions

View file

@ -2,11 +2,11 @@
class Tftpd32 extends PatchBase {
function __construct() {
parent::__construct('Philippe Jounin', 'Tftpd64', 'https://tftpd32.jounin.net/tftpd32_download.html');
parent::__construct('Philippe Jounin', 'Tftpd64', 'http://www.tftpd64.com/');
}
function check() : bool {
if ($this->fetch('https://pjo2.github.io/tftpd64/'))
return $this->parse('_/[Tt]ftpd64-([\d\.]+)-setup\.exe_');
if ($this->fetch_json('https://api.github.com/repos/PJO2/tftpd64/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}

View file

@ -6,7 +6,7 @@ class UltraVNC extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://uvnc.com/downloads/ultravnc.html'))
return $this->parse('/Latest release version: ([\d\.]+)/u');
return $this->parse('/Latest release version: UltraVNC ([\d\.]+)/u');
return false;
}
}