PatchBot/modules/Lapce.php
2024-10-06 13:44:24 +02:00

14 lines
317 B
PHP

<?php
class Lapce extends PatchBase {
function __construct() {
parent::__construct('Dongdong Zhou', 'Lapce', 'https://lapce.dev/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/lapce/lapce/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>