Add ShredOS

This commit is contained in:
Steffen Lange 2023-04-02 14:47:50 +02:00
parent 8e49dd43c1
commit 2e74add295

14
modules/ShredOS.php Normal file
View file

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