TeamViewer: fix detection

This commit is contained in:
Steffen Lange 2021-02-14 01:29:00 +01:00
parent e7635ef3ac
commit 713debd165

View file

@ -6,7 +6,7 @@ class TeamViewer extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.teamviewer.com/en/download/windows/')) if ($this->fetch('https://www.teamviewer.com/en/download/windows/'))
return $this->parse('/<div class="wpb_wrapper">\s*([\d\.]+)/'); return $this->parse('/<p>Current version: ([\d\.]+)<\/p>/');
return false; return false;
} }
} }