Add SquirrelDisk

This commit is contained in:
Steffen Lange 2023-02-25 12:19:49 +01:00
parent 5fb2ad0bf7
commit c0dcd0bbaa

14
modules/SquirrelDisk.php Normal file
View file

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