Add Paperwork
This commit is contained in:
parent
896eb26b58
commit
82a32b714d
1 changed files with 14 additions and 0 deletions
14
modules/Paperwork.php
Normal file
14
modules/Paperwork.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Paperwork extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Jérôme Flesch', 'Paperwork', 'https://openpaper.work/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch_json('https://gitlab.gnome.org/api/v4/projects/World%2FOpenPaperwork%2Fpaperwork/releases'))
|
||||||
|
return $this->parse_json('tag_name');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue