From c5a296f0a182394df9b5a20d8ec374b9140b7bad Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sat, 23 Oct 2021 21:12:57 +0200 Subject: [PATCH] SublimeText: update to newest major version --- modules/{SublimeText3.php => SublimeText.php} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename modules/{SublimeText3.php => SublimeText.php} (61%) diff --git a/modules/SublimeText3.php b/modules/SublimeText.php similarity index 61% rename from modules/SublimeText3.php rename to modules/SublimeText.php index d8bfe3d..b5ae3be 100644 --- a/modules/SublimeText3.php +++ b/modules/SublimeText.php @@ -1,12 +1,11 @@ patch->setBranch('3'); + parent::__construct('Sublime HQ', 'Sublime Text', 'https://www.sublimetext.com/download'); } function check() : bool { - if ($this->fetch('https://www.sublimetext.com/3')) + if ($this->fetch('https://www.sublimetext.com/download')) return $this->parse('/

Version:<\/i> Build (\d+)<\/p>/'); return false; }