Replace Saucedacity with Tenacity
This commit is contained in:
parent
1885665c6f
commit
8e49dd43c1
2 changed files with 14 additions and 14 deletions
|
|
@ -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
14
modules/Tenacity.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue