14 lines
372 B
PHP
14 lines
372 B
PHP
<?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', array('CURLOPT_USERAGENT' => 'FFS-Update-Check')))
|
|
return $this->parse('/([\d\.]+)/');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|