Add Zim
This commit is contained in:
parent
f7e1c98e8b
commit
5893f67bbc
1 changed files with 14 additions and 0 deletions
14
modules/Zim.php
Normal file
14
modules/Zim.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Zim extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Jaap Karssenberg', 'Zim', 'https://zim-wiki.org/downloads.html');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch_json('https://api.github.com/repos/zim-desktop-wiki/zim-desktop-wiki/tags'))
|
||||||
|
return $this->parse_json('name');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue