Add Notepad++
This commit is contained in:
parent
131d8038ae
commit
7ab5420c05
1 changed files with 14 additions and 0 deletions
14
modules/NotepadPP.php
Normal file
14
modules/NotepadPP.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class NotepadPP extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Don Ho', 'Notepad++', 'https://notepad-plus-plus.org/downloads/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://notepad-plus-plus.org/'))
|
||||
return $this->parse('/<strong>Current Version ([\d\.]+)<\/strong>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue