Add LocalSend

This commit is contained in:
Steffen Lange 2023-05-28 18:42:26 +02:00
parent cbcb79f116
commit 6fec6855b9

14
modules/LocalSend.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class LocalSend extends PatchBase {
function __construct() {
parent::__construct('Tien Do Nam', 'LocalSend', 'https://localsend.org/#/download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/localsend/localsend/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>