Add MS Office LTSC 2024
This commit is contained in:
parent
7bef75967f
commit
194bd13775
1 changed files with 17 additions and 0 deletions
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