Add RStudio

This commit is contained in:
Steffen Lange 2021-03-04 17:04:58 +01:00
parent e67c71f8b5
commit 8e1386bfa6

15
modules/RStudio.php Normal file
View file

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