Add Flameshot

This commit is contained in:
Steffen Lange 2022-02-04 22:58:51 +01:00
parent 713c7bee44
commit 17ee5a96ab

14
modules/Flameshot.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Flameshot extends PatchBase {
function __construct() {
parent::__construct('Alejandro Sirgo Rica', 'Flameshot', 'https://flameshot.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/flameshot-org/flameshot/releases'))
return $this->parse_json('tag_name');
return false;
}
}
?>