Add autorestic

This commit is contained in:
Steffen Lange 2025-03-29 17:10:13 +01:00
parent 949197cc9d
commit e37258fd50

14
modules/Autorestic.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Autorestic extends PatchBase {
function __construct() {
parent::__construct('Niccolo Borgioli', 'autorestic', 'https://autorestic.vercel.app/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/cupcakearmy/autorestic/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>