Add Tails
This commit is contained in:
parent
59421cedc4
commit
0bf55d8457
1 changed files with 14 additions and 0 deletions
14
modules/Tails.php
Normal file
14
modules/Tails.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Tails extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Tor Project', 'Tails', 'https://tails.net/install/index.en.html');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://gitlab.tails.boum.org/api/v4/projects/tails%2Ftails/repository/tags'))
|
||||
return $this->parse_json('name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue