Compare commits

...

2 commits

Author SHA1 Message Date
194bd13775 Add MS Office LTSC 2024 2024-12-09 16:42:43 +01:00
7bef75967f Add MS Office 2024 2024-12-09 16:42:31 +01:00
2 changed files with 34 additions and 0 deletions

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;
}
}
?>

View file

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