Add IrfanView & XnView
This commit is contained in:
parent
42d4d29f2a
commit
37964163f7
2 changed files with 28 additions and 0 deletions
14
modules/IrfanView.php
Normal file
14
modules/IrfanView.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class IrfanView extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Irfan Skiljan', 'IrfanView', 'https://www.irfanview.com/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.irfanview.com/64bit.htm'))
|
||||
return $this->parse('/\(Version ([\d\.]+),/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
14
modules/XnView.php
Normal file
14
modules/XnView.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class XnView extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Pierre-Emmanuel Gougelet', 'XnView', 'https://www.xnview.com/en/xnview/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.xnview.com/en/xnview/'))
|
||||
return $this->parse('/<strong>XnView ([\d\.]+)<\/strong>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue