Add Joplin

This commit is contained in:
Steffen Lange 2021-04-25 21:32:02 +02:00
parent db01416e8d
commit 569b077bd2

14
modules/Joplin.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Joplin extends PatchBase {
function __construct() {
parent::__construct('Laurent Cozic', 'Joplin', 'https://joplinapp.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/laurent22/joplin/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>