From ac5773641fa566f32091e8a2fb23316ce5f0a311 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 16 Dec 2017 20:56:05 +0000 Subject: [PATCH] Add a way to get mootool's version (#1926) - The website is now in https - Tighten a bit the original regexp by prefixing it with a `/` - Add a regexp to get the version, this can be tested [here](https://turtlapp.com/docs/) --- src/apps.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/apps.json b/src/apps.json index 8be19b44d..ee68930fc 100644 --- a/src/apps.json +++ b/src/apps.json @@ -5586,8 +5586,11 @@ ], "env": "^MooTools$", "icon": "MooTools.png", - "script": "mootools.*\\.js", - "website": "http://mootools.net" + "script": [ + "/mootools-core-([\\d.]+)\\.js\\;version:\\1", + "/mootools.*\\.js" + ], + "website": "https://mootools.net" }, "Moodle": { "cats": [