Citrix Workspace app LTSR: parse detail page
This commit is contained in:
parent
40c8393404
commit
fdca291cfe
1 changed files with 3 additions and 3 deletions
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
class CitrixWorkspaceAppLTSR extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Citrix', 'Workspace App', 'https://www.citrix.com/downloads/workspace-app/workspace-app-for-windows-long-term-service-release/');
|
||||
parent::__construct('Citrix', 'Workspace App', 'https://www.citrix.com/downloads/workspace-app/workspace-app-for-windows-long-term-service-release/workspace-app-for-windows-LTSR.html');
|
||||
$this->patch->setBranch('LTSR');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.citrix.com/downloads/workspace-app/workspace-app-for-windows-long-term-service-release/'))
|
||||
return $this->parse('/>Citrix Workspace app for Windows LTSR ([\d\.]+)</');
|
||||
if ($this->fetch('https://www.citrix.com/downloads/workspace-app/workspace-app-for-windows-long-term-service-release/workspace-app-for-windows-LTSR.html'))
|
||||
return $this->parse('/<p>Version: ([\d\.]+)<\/p>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue