RuuviTag: update links

This commit is contained in:
Steffen Lange 2024-02-21 17:52:06 +01:00
parent 6340496347
commit d0253edf40

View file

@ -2,10 +2,10 @@
class RuuviTag extends PatchBase { class RuuviTag extends PatchBase {
function __construct() { 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 { 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 $this->parse_json('tag_name');
return false; return false;
} }