Add Beyond Compare
This commit is contained in:
parent
a9e08eccf1
commit
bff0d43288
1 changed files with 15 additions and 0 deletions
15
modules/BCompare5.php
Normal file
15
modules/BCompare5.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class BCompare5 extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Scooter Software Inc.', 'Beyond Compare', 'https://www.scootersoftware.com/download');
|
||||||
|
$this->patch->setBranch('5');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://www.scootersoftware.com/checkupdates.php?product=bc5'))
|
||||||
|
return $this->parse('/Version <b>([\d\.]+ build \d+)<\/b>/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue