Add Blender & KeePass
This commit is contained in:
parent
9eaeb5cd3c
commit
8daed2b519
2 changed files with 29 additions and 0 deletions
14
modules/Blender.php
Normal file
14
modules/Blender.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Blender extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Blender Foundation', 'Blender', 'https://www.blender.org/download/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.blender.org/'))
|
||||
return $this->parse('/>Download Blender ([\d\.a-z]+)</');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
15
modules/KeePass2.php
Normal file
15
modules/KeePass2.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class KeePass2 extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Dominik Reichl', 'KeePass', 'https://keepass.info/download.html');
|
||||
$this->patch->setBranch('2.x');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://keepass.info/download.html'))
|
||||
return $this->parse('_sourceforge\.net/projects/keepass/files/KeePass%202\.x/[\d\.]+/KeePass-([\d\.]+)-Setup\.exe_');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue