RuuviTag: update links
This commit is contained in:
parent
6340496347
commit
d0253edf40
1 changed files with 2 additions and 2 deletions
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
class RuuviTag extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Ruuvi Innovations', 'RuuviTag', 'https://lab.ruuvi.com/dfu/');
|
||||
parent::__construct('Ruuvi Innovations', 'RuuviTag', 'https://ruuvi.com/software-update/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://api.github.com/repos/ruuvi/ruuvitag_fw/releases/latest'))
|
||||
if ($this->fetch_json('https://api.github.com/repos/ruuvi/ruuvi.firmware.c/releases/latest'))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue