Add Espanso

This commit is contained in:
Steffen Lange 2024-10-21 23:21:06 +02:00
parent aa2616b886
commit bc1c14b325

14
modules/Espanso.php Normal file
View file

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