Add Alacritty

This commit is contained in:
Steffen Lange 2023-08-13 01:36:19 +02:00
parent 328841ef53
commit f9e7dde85c

14
modules/Alacritty.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Alacritty extends PatchBase {
function __construct() {
parent::__construct('Alacritty Contributors', 'Alacritty', 'https://alacritty.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/alacritty/alacritty/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>