diff --git a/modules/MSOffice2024.php b/modules/MSOffice2024.php new file mode 100644 index 0000000..9f8e394 --- /dev/null +++ b/modules/MSOffice2024.php @@ -0,0 +1,17 @@ +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', ''); + return $this->parse('/Version ([\d]+ \(Build [\d\.]+\))/'); + } + return false; + } +} + +?> diff --git a/modules/MSOffice2024VL.php b/modules/MSOffice2024VL.php new file mode 100644 index 0000000..647b92c --- /dev/null +++ b/modules/MSOffice2024VL.php @@ -0,0 +1,17 @@ +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', ''); + return $this->parse('/Version ([\d]+ \(Build [\d\.]+\))/'); + } + return false; + } +} + +?>