Add Electrum
This commit is contained in:
parent
257fe0862b
commit
5d0d73bbf5
1 changed files with 14 additions and 0 deletions
14
modules/Electrum.php
Normal file
14
modules/Electrum.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Electrum extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Thomas Voegtlin', 'Electrum', 'https://electrum.org/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch_json('https://electrum.org/version'))
|
||||||
|
return $this->parse_json('version');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue