TeamViewer: fix detection
This commit is contained in:
parent
e7635ef3ac
commit
713debd165
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue