Thunderbird: fix version regex

This commit is contained in:
Steffen Lange 2024-07-12 14:53:38 +02:00
parent b739f68688
commit 8498c774b1

View file

@ -6,7 +6,7 @@ class MozillaThunderbird extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.thunderbird.net/en-US/thunderbird/all/')) if ($this->fetch('https://www.thunderbird.net/en-US/thunderbird/all/'))
return $this->parse('_//download\.mozilla\.org/\?product=thunderbird-([\d\.]+)(-SSL)?&(amp;)?os=win&(amp;)?lang=en-US_'); return $this->parse('_//download\.mozilla\.org/\?product=thunderbird-([\d\.]+)(esr)?(-SSL)?&(amp;)?os=win&(amp;)?lang=en-US_');
return false; return false;
} }
} }