PatchBot/modules/ZeroTierOne.php
2026-01-15 14:19:40 +01:00

14 lines
355 B
PHP

<?php
class ZeroTierOne extends PatchBase {
function __construct() {
parent::__construct('ZeroTier Inc.', 'ZeroTier One', '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;
}
}
?>