Add WhatsApp

This commit is contained in:
Steffen Lange 2026-01-15 14:20:48 +01:00
parent 47462ef3d2
commit 874fd1e9e8

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