Add WordTsar
This commit is contained in:
parent
7a0cdba234
commit
43d6478764
1 changed files with 14 additions and 0 deletions
14
modules/WordTsar.php
Normal file
14
modules/WordTsar.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class WordTsar extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Gerald Brandt', 'WordTsar', 'https://wordtsar.ca/downloads/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://sourceforge.net/projects/wordtsar/best_release.json'))
|
||||
return $this->parse_json('filename', '/^\/Releases\/WordTsar-(.+)\//');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue