Add FreeFileSync

This commit is contained in:
Steffen Lange 2023-02-02 21:18:38 +01:00
parent 82ab007218
commit 2e7927c057

14
modules/FreeFileSync.php Normal file
View 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;
}
}
?>