Add OnlyOffice

This commit is contained in:
Steffen Lange 2021-10-08 14:22:20 +02:00
parent 8d44213768
commit 83bfc66bbe

15
modules/OnlyOffice.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class OnlyOffice extends PatchBase {
function __construct() {
parent::__construct('Ascensio System SIA', 'OnlyOffice', 'https://www.onlyoffice.com/download-desktop.aspx');
$this->patch->setBranch('Desktop Editors');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/ONLYOFFICE/DesktopEditors/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>