KeePass: use official update info resource

This commit is contained in:
Steffen Lange 2021-06-01 12:29:39 +02:00
parent 3f65352c06
commit 501a066c0a

View file

@ -6,8 +6,8 @@ class KeePass2 extends PatchBase {
$this->patch->setBranch('2.x'); $this->patch->setBranch('2.x');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://keepass.info/download.html')) if ($this->fetch_gzip('https://www.dominik-reichl.de/update/version2x.txt.gz'))
return $this->parse('_sourceforge\.net/projects/keepass/files/KeePass%202\.x/[\d\.]+/KeePass-([\d\.]+)-Setup\.exe_'); return $this->parse('/KeePass:([\d\.]+)/');
return false; return false;
} }
} }