PatchBot/modules/NotepadPP.php
2020-04-07 21:02:52 +02:00

14 lines
341 B
PHP

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