Add Notepad++

This commit is contained in:
Steffen Lange 2020-04-07 21:02:52 +02:00
parent 131d8038ae
commit 7ab5420c05

14
modules/NotepadPP.php Normal file
View 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;
}
}
?>