Add WinMerge
This commit is contained in:
parent
b4cec3f3c4
commit
a4793e1a96
1 changed files with 14 additions and 0 deletions
14
modules/WinMerge.php
Normal file
14
modules/WinMerge.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class WinMerge extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('WinMerge Development Team', 'WinMerge', 'https://winmerge.org/downloads/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://api.github.com/repos/winmerge/winmerge/releases/latest', true))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue