Add WhatsApp
This commit is contained in:
parent
47462ef3d2
commit
874fd1e9e8
1 changed files with 15 additions and 0 deletions
15
modules/WhatsApp.php
Normal file
15
modules/WhatsApp.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class WhatsApp extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('WhatsApp LLC', 'WhatsApp', 'https://www.whatsapp.com/android');
|
||||
$this->patch->setBranch('Android');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.whatsapp.com/android'))
|
||||
return $this->parse('/\(Version ([\d\.]+)\)/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue