PatchBot/modules/Zed.php
2024-07-12 13:40:08 +02:00

14 lines
332 B
PHP

<?php
class Zed extends PatchBase {
function __construct() {
parent::__construct('Zed Industries Inc.', 'Zed', 'https://zed.dev/download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/zed-industries/zed/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>