Add MS Office 2024

This commit is contained in:
Steffen Lange 2024-12-09 16:42:31 +01:00
parent 92a2e2be19
commit 7bef75967f

17
modules/MSOffice2024.php Normal file
View file

@ -0,0 +1,17 @@
<?php
class MSOffice2024 extends PatchBase {
function __construct() {
parent::__construct('Microsoft', 'Office 2024', 'https://docs.microsoft.com/en-us/officeupdates/update-history-office-2024#retail-versions-of-office-2024');
$this->patch->setBranch('Retail');
}
function check() : bool {
if ($this->fetch('https://docs.microsoft.com/en-us/officeupdates/update-history-office-2024')) {
$this->str_crop('retail-versions-of-office-2024', '</table>');
return $this->parse('/Version ([\d]+ \(Build [\d\.]+\))/');
}
return false;
}
}
?>