PatchBot/modules/RStudio.php
2021-03-04 17:04:58 +01:00

15 lines
374 B
PHP

<?php
class RStudio extends PatchBase {
function __construct() {
parent::__construct('RStudio PBC', 'RStudio', 'https://rstudio.com/products/rstudio/download/');
$this->patch->setBranch('Desktop');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/rstudio/rstudio/tags'))
return $this->parse_json('name');
return false;
}
}
?>