Add draw.io Desktop
This commit is contained in:
parent
3f68252174
commit
d32f900c8b
1 changed files with 15 additions and 0 deletions
15
modules/DrawioDesktop.php
Normal file
15
modules/DrawioDesktop.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class DrawioDesktop extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('JGraph Ltd', 'draw.io', 'https://www.diagrams.net/');
|
||||||
|
$this->patch->setBranch('Desktop');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch_json('https://api.github.com/repos/jgraph/drawio-desktop/releases/latest'))
|
||||||
|
return $this->parse_json('name');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue