Add ZeroTier

This commit is contained in:
Steffen Lange 2024-03-02 10:50:20 +01:00
parent 8c7ca3af08
commit 9e588839d7

14
modules/ZeroTierOne.php Normal file
View file

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