Add RStudio
This commit is contained in:
parent
e67c71f8b5
commit
8e1386bfa6
1 changed files with 15 additions and 0 deletions
15
modules/RStudio.php
Normal file
15
modules/RStudio.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue