Compare commits

..

3 commits

Author SHA1 Message Date
f352fb82b3 Add MariaDB 11.8 2025-06-19 17:44:47 +02:00
d5f32ed8e1 Add GCC 15 2025-06-19 17:44:35 +02:00
09b570975c XnView: update URL 2025-06-19 17:44:17 +02:00
3 changed files with 32 additions and 2 deletions

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

View file

@ -2,10 +2,10 @@
class XnView extends PatchBase { class XnView extends PatchBase {
function __construct() { 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 { 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 $this->parse('/<strong>XnView ([\d\.]+)<\/strong>/');
return false; return false;
} }