WinSCP: Get minor version number
This commit is contained in:
parent
0b78e001d2
commit
42d4d29f2a
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class WinSCP extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://winscp.net/eng/download.php'))
|
if ($this->fetch('https://winscp.net/eng/download.php'))
|
||||||
return $this->parse('/<h1>WinSCP ([\d\.]+) Download<\/h1>/');
|
return $this->parse('_/download/WinSCP-([\d\.]+)-Setup\.exe_');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue