PatchBot/modules/Scrcpy.php
2023-03-13 10:56:35 +01:00

14 lines
343 B
PHP

<?php
class Scrcpy extends PatchBase {
function __construct() {
parent::__construct('Romain Vimont', 'scrcpy', 'https://github.com/Genymobile/scrcpy');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/Genymobile/scrcpy/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>