diff --git a/modules/TenEditor.php b/modules/TenEditor.php index 8e546d8..aa4906f 100644 --- a/modules/TenEditor.php +++ b/modules/TenEditor.php @@ -6,7 +6,7 @@ class TenEditor extends PatchBase { } function check() : bool { if ($this->fetch('https://sweetscape.com/010editor/')) - return $this->parse('/
Current: v([\d\.]+)<\/div>/'); + return $this->parse('/
v([\d\.]+)<\/div>/'); return false; } } diff --git a/modules/TinyCheck.php b/modules/TinyCheck.php new file mode 100644 index 0000000..07b0bfb --- /dev/null +++ b/modules/TinyCheck.php @@ -0,0 +1,14 @@ +fetch_json('https://api.github.com/repos/KasperskyLab/TinyCheck/releases/latest')) + return $this->parse_json('tag_name'); + return false; + } +} + +?>