Replace Saucedacity with Tenacity

This commit is contained in:
Steffen Lange 2023-04-02 14:42:58 +02:00
parent 1885665c6f
commit 8e49dd43c1
2 changed files with 14 additions and 14 deletions

View file

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

14
modules/Tenacity.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Tenacity extends PatchBase {
function __construct() {
parent::__construct('Tenacity Community', 'Tenacity', 'https://tenacityaudio.org/');
}
function check() : bool {
if ($this->fetch_json('https://codeberg.org/api/v1/repos/tenacityteam/tenacity/releases'))
return $this->parse_json('tag_name');
return false;
}
}
?>