PatchBot/modules/Pinta.php
2025-04-14 10:22:11 +02:00

14 lines
342 B
PHP

<?php
class Pinta extends PatchBase {
function __construct() {
parent::__construct('Jonathan Pobst', 'Pinta', 'https://www.pinta-project.com/releases/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/PintaProject/Pinta/releases/latest'))
return $this->parse_json('name');
return false;
}
}
?>