Compare commits

...

2 commits

Author SHA1 Message Date
a00f610f74 TenEditor: update regex 2024-10-02 11:29:37 +02:00
f2cb0eb0ea Remove abandoned TinyCheck 2024-10-02 11:24:19 +02:00
2 changed files with 1 additions and 15 deletions

View file

@ -6,7 +6,7 @@ class TenEditor extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://sweetscape.com/010editor/'))
return $this->parse('/<div class="versiontext">v([\d\.]+)<\/div>/');
return $this->parse('/<div class="version-text">Current:&nbsp;v([\d\.]+)<\/div>/');
return false;
}
}

View file

@ -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;
}
}
?>