Add scrcpy

This commit is contained in:
Steffen Lange 2023-03-13 10:56:35 +01:00
parent 0cf53672a4
commit c8ba2b4a15

14
modules/Scrcpy.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>