Add SmartTube

This commit is contained in:
Steffen Lange 2023-11-01 17:47:15 +01:00
parent c2910e3fea
commit 147d8c37d5

14
modules/SmartTube.php Normal file
View file

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