From 4a1488347e9a79da77253a98b557bc5077b1b457 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 15 Nov 2024 14:04:16 +0100 Subject: [PATCH] Change LibreOffice build UUIDs for update checks --- modules/LibreOfficeFresh.php | 2 +- modules/LibreOfficeStill.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/LibreOfficeFresh.php b/modules/LibreOfficeFresh.php index 68eaae3..1e3d734 100644 --- a/modules/LibreOfficeFresh.php +++ b/modules/LibreOfficeFresh.php @@ -6,7 +6,7 @@ class LibreOfficeFresh extends PatchBase { $this->patch->setBranch('Fresh'); } function check() : bool { - if ($this->fetch('https://update.libreoffice.org/check.php', array('CURLOPT_USERAGENT' => 'LibreOffice 24.2.0.1 (b4d45829793cddfe67b58a53f495528c75738d8a; Windows; X86_64; )'))) + if ($this->fetch('https://update.libreoffice.org/check.php', array('CURLOPT_USERAGENT' => 'LibreOffice 0 (b6c8ba5-8c0b455-0b5e650-d7f0dd3-b100c87; Windows; x86; )'))) return $this->parse('/([\d\.]+)<\/inst:version>/'); return false; } diff --git a/modules/LibreOfficeStill.php b/modules/LibreOfficeStill.php index 734a76b..e08b10d 100644 --- a/modules/LibreOfficeStill.php +++ b/modules/LibreOfficeStill.php @@ -6,7 +6,7 @@ class LibreOfficeStill extends PatchBase { $this->patch->setBranch('Still'); } function check() : bool { - if ($this->fetch('https://update.libreoffice.org/check.php', array('CURLOPT_USERAGENT' => 'LibreOffice 7.6.2.1 (56f7684011345957bbf33a7ee678afaf4d2ba333; Windows; X86_64; )'))) + if ($this->fetch('https://update.libreoffice.org/check.php', array('CURLOPT_USERAGENT' => 'LibreOffice 0 (3215f89-f603614-ab984f2-7348103-1225a5b; Windows; x86; )'))) return $this->parse('/([\d\.]+)<\/inst:version>/'); return false; }