Add Zettlr

This commit is contained in:
Steffen Lange 2022-03-11 23:10:35 +01:00
parent 5893f67bbc
commit bc9b91faf0

14
modules/Zettlr.php Normal file
View file

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