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