Compare commits
2 commits
92a2e2be19
...
194bd13775
| Author | SHA1 | Date | |
|---|---|---|---|
| 194bd13775 | |||
| 7bef75967f |
2 changed files with 34 additions and 0 deletions
17
modules/MSOffice2024.php
Normal file
17
modules/MSOffice2024.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
17
modules/MSOffice2024VL.php
Normal file
17
modules/MSOffice2024VL.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue