Compare commits
3 commits
72b2336604
...
f352fb82b3
| Author | SHA1 | Date | |
|---|---|---|---|
| f352fb82b3 | |||
| d5f32ed8e1 | |||
| 09b570975c |
3 changed files with 32 additions and 2 deletions
15
modules/GCC15.php
Normal file
15
modules/GCC15.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class GCC15 extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Free Software Foundation', 'GNU Compiler Collection', 'https://gcc.gnu.org/');
|
||||
$this->patch->setBranch('15');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://gcc.gnu.org/'))
|
||||
return $this->parse('/<span class="version"><a href="gcc-15\/">GCC ([\d\.]+)/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
15
modules/MariaDB118.php
Normal file
15
modules/MariaDB118.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class MariaDB118 extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('MariaDB Foundation', 'MariaDB', 'https://mariadb.org/download/');
|
||||
$this->patch->setBranch('11.8');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://downloads.mariadb.org/rest-api/mariadb/11.8/'))
|
||||
return $this->parse_json('release_id');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
class XnView extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Pierre-Emmanuel Gougelet', 'XnView', 'https://www.xnview.com/en/xnview/');
|
||||
parent::__construct('Pierre-Emmanuel Gougelet', 'XnView', 'https://www.xnview.com/en/xnview-classic/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.xnview.com/en/xnview/'))
|
||||
if ($this->fetch('https://www.xnview.com/en/xnview-classic/'))
|
||||
return $this->parse('/<strong>XnView ([\d\.]+)<\/strong>/');
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue