SublimeText: update to newest major version
This commit is contained in:
parent
cdb38e86b1
commit
c5a296f0a1
1 changed files with 3 additions and 4 deletions
|
|
@ -1,15 +0,0 @@
|
|||
<?php
|
||||
|
||||
class SublimeText3 extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Sublime HQ', 'Sublime Text', 'https://www.sublimetext.com/3');
|
||||
$this->patch->setBranch('3');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.sublimetext.com/3'))
|
||||
return $this->parse('/<p class="latest"><i>Version:<\/i> Build (\d+)<\/p>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue