Add resticprofile

This commit is contained in:
Steffen Lange 2025-03-29 17:10:33 +01:00
parent e37258fd50
commit 53fb549a38

14
modules/Resticprofile.php Normal file
View file

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