Add VirtualBox
This commit is contained in:
parent
71f6bdfc05
commit
858fa5d80f
1 changed files with 14 additions and 0 deletions
14
modules/VirtualBox.php
Normal file
14
modules/VirtualBox.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class VirtualBox extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Oracle', 'VirtualBox', 'https://www.virtualbox.org/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.virtualbox.org/wiki/Downloads'))
|
||||
return $this->parse('_//download\.virtualbox\.org/virtualbox/[\d\.]+/VirtualBox-([\d\.-]+)-Win\.exe_');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue