Change LibreOffice build UUIDs for update checks
This commit is contained in:
parent
346d07c120
commit
4a1488347e
2 changed files with 2 additions and 2 deletions
|
|
@ -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('/<inst:version>([\d\.]+)<\/inst:version>/');
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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('/<inst:version>([\d\.]+)<\/inst:version>/');
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue