XnView: update URL

This commit is contained in:
Steffen Lange 2025-06-19 17:44:17 +02:00
parent 72b2336604
commit 09b570975c

View file

@ -2,10 +2,10 @@
class XnView extends PatchBase { class XnView extends PatchBase {
function __construct() { function __construct() {
parent::__construct('Pierre-Emmanuel Gougelet', 'XnView', 'https://www.xnview.com/en/xnview/'); parent::__construct('Pierre-Emmanuel Gougelet', 'XnView', 'https://www.xnview.com/en/xnview-classic/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.xnview.com/en/xnview/')) if ($this->fetch('https://www.xnview.com/en/xnview-classic/'))
return $this->parse('/<strong>XnView ([\d\.]+)<\/strong>/'); return $this->parse('/<strong>XnView ([\d\.]+)<\/strong>/');
return false; return false;
} }