Compare commits
3 commits
9aa9aa42b3
...
63c64c0bdc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63c64c0bdc | ||
|
|
78a40550ad | ||
|
|
c61174ac3a |
3 changed files with 30 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ class Duplicati extends PatchBase {
|
|||
parent::__construct('Duplicati Team', 'Duplicati', 'https://www.duplicati.com/download');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://updates.duplicati.com/beta/latest-installers.js'))
|
||||
return $this->parse('/"version": "([\d\.]+)"/');
|
||||
if ($this->fetch_json('https://api.github.com/repos/duplicati/duplicati/releases/latest'))
|
||||
return $this->parse_json('tag_name', '/(.+)_stable/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
14
modules/Glaxnimate.php
Normal file
14
modules/Glaxnimate.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Glaxnimate extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Mattia Basaglia', 'Glaxnimate', 'https://glaxnimate.org/download/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://invent.kde.org/api/v4/projects/graphics%2Fglaxnimate/repository/tags'))
|
||||
return $this->parse_json('name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
14
modules/Picard.php
Normal file
14
modules/Picard.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Picard extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('MetaBrainz Foundation', 'Picard', 'https://picard.musicbrainz.org/downloads/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://api.github.com/repos/metabrainz/picard/releases/latest'))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue