Add Citrix Receiver/Workspace App
This commit is contained in:
parent
6eebe2e3b6
commit
55c5b2e24a
2 changed files with 29 additions and 0 deletions
15
modules/CitrixReceiverLTSR.php
Normal file
15
modules/CitrixReceiverLTSR.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class CitrixReceiverLTSR extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Citrix', 'Receiver', 'https://www.citrix.com/downloads/citrix-receiver/windows-ltsr/');
|
||||
$this->patch->setBranch('LTSR');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.citrix.com/downloads/citrix-receiver/windows-ltsr/'))
|
||||
return $this->parse('/\/receiver-for-windows-ltsr-latest.html">Receiver ([\d\.]+) for Windows/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
14
modules/CitrixWorkspaceApp.php
Normal file
14
modules/CitrixWorkspaceApp.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class CitrixWorkspaceApp extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Citrix', 'Workspace App', 'https://www.citrix.com/downloads/workspace-app/windows/workspace-app-for-windows-latest.html');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.citrix.com/downloads/workspace-app/windows/workspace-app-for-windows-latest.html'))
|
||||
return $this->parse('/<p>Version: ([\d\.]+) \([\d\.]+\)<\/p>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue