Add FreeFileSync
This commit is contained in:
parent
82ab007218
commit
2e7927c057
1 changed files with 14 additions and 0 deletions
14
modules/FreeFileSync.php
Normal file
14
modules/FreeFileSync.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class FreeFileSync extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Zenju', 'FreeFileSync', 'https://freefilesync.org/download.php');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://api.freefilesync.org/latest_version'))
|
||||||
|
return $this->parse('/([\d\.]+)/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue