Add Git for Windows

This commit is contained in:
Steffen Lange 2021-07-01 14:31:19 +02:00
parent 077e4dc920
commit bcfd885139

14
modules/Git.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Git extends PatchBase {
function __construct() {
parent::__construct('Linus Torvalds', 'Git for Windows', 'https://gitforwindows.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/git-for-windows/git/releases/latest'))
return $this->parse_json('tag_name', '/v(.+)\.windows\.\d+/');
return false;
}
}
?>