WinSCP: Get minor version number

This commit is contained in:
Steffen Lange 2020-01-30 14:00:44 +01:00
parent 0b78e001d2
commit 42d4d29f2a

View file

@ -6,7 +6,7 @@ class WinSCP extends PatchBase {
}
function check() : bool {
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;
}
}