From f2cb0eb0ea3d634602fbf63e6d4f083d81a093b2 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Wed, 2 Oct 2024 11:24:19 +0200 Subject: [PATCH 1/2] Remove abandoned TinyCheck --- modules/TinyCheck.php | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 modules/TinyCheck.php diff --git a/modules/TinyCheck.php b/modules/TinyCheck.php deleted file mode 100644 index 07b0bfb..0000000 --- a/modules/TinyCheck.php +++ /dev/null @@ -1,14 +0,0 @@ -fetch_json('https://api.github.com/repos/KasperskyLab/TinyCheck/releases/latest')) - return $this->parse_json('tag_name'); - return false; - } -} - -?> From a00f610f74aaa6b44200d9a68d08890b6e461471 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Wed, 2 Oct 2024 11:29:37 +0200 Subject: [PATCH 2/2] TenEditor: update regex --- modules/TenEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/TenEditor.php b/modules/TenEditor.php index aa4906f..8e546d8 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('/
v([\d\.]+)<\/div>/'); + return $this->parse('/
Current: v([\d\.]+)<\/div>/'); return false; } }