Tftpd64: fix regex
This commit is contained in:
parent
e5492431b2
commit
87db5a550f
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ class Tftpd32 extends PatchBase {
|
||||||
parent::__construct('Philippe Jounin', 'Tftpd64', 'https://tftpd32.jounin.net/tftpd32_download.html');
|
parent::__construct('Philippe Jounin', 'Tftpd64', 'https://tftpd32.jounin.net/tftpd32_download.html');
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://tftpd32.jounin.net/tftpd32_news.html'))
|
if ($this->fetch('https://pjo2.github.io/tftpd64/'))
|
||||||
return $this->parse('/<td>Version ([\d\.]+)<\/td>/');
|
return $this->parse('_/[Tt]ftpd64-([\d\.]+)-setup\.exe_');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue