Compare commits
2 commits
93876bfa69
...
a00f610f74
| Author | SHA1 | Date | |
|---|---|---|---|
| a00f610f74 | |||
| f2cb0eb0ea |
2 changed files with 1 additions and 15 deletions
|
|
@ -6,7 +6,7 @@ class TenEditor extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://sweetscape.com/010editor/'))
|
if ($this->fetch('https://sweetscape.com/010editor/'))
|
||||||
return $this->parse('/<div class="versiontext">v([\d\.]+)<\/div>/');
|
return $this->parse('/<div class="version-text">Current: v([\d\.]+)<\/div>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class TinyCheck extends PatchBase {
|
|
||||||
function __construct() {
|
|
||||||
parent::__construct('Kaspersky Lab', 'TinyCheck', 'https://github.com/KasperskyLab/TinyCheck/wiki');
|
|
||||||
}
|
|
||||||
function check() : bool {
|
|
||||||
if ($this->fetch_json('https://api.github.com/repos/KasperskyLab/TinyCheck/releases/latest'))
|
|
||||||
return $this->parse_json('tag_name');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue