From 7bef75967ff3a191dc1caa05bc82077bc79ba079 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Mon, 9 Dec 2024 16:42:31 +0100 Subject: [PATCH 1/2] Add MS Office 2024 --- modules/MSOffice2024.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/MSOffice2024.php 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; + } +} + +?> From 194bd13775c5b7d7ffbf4b7ea2622adea4fa93ba Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Mon, 9 Dec 2024 16:42:43 +0100 Subject: [PATCH 2/2] Add MS Office LTSC 2024 --- modules/MSOffice2024VL.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/MSOffice2024VL.php 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; + } +} + +?>