diff --git a/modules/GCC15.php b/modules/GCC15.php new file mode 100644 index 0000000..54a8c52 --- /dev/null +++ b/modules/GCC15.php @@ -0,0 +1,15 @@ +patch->setBranch('15'); + } + function check() : bool { + if ($this->fetch('https://gcc.gnu.org/')) + return $this->parse('/GCC ([\d\.]+)/'); + return false; + } +} + +?> diff --git a/modules/MariaDB118.php b/modules/MariaDB118.php new file mode 100644 index 0000000..40d0f17 --- /dev/null +++ b/modules/MariaDB118.php @@ -0,0 +1,15 @@ +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; + } +} + +?> diff --git a/modules/XnView.php b/modules/XnView.php index 9dcfa27..fe1f8db 100644 --- a/modules/XnView.php +++ b/modules/XnView.php @@ -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('/XnView ([\d\.]+)<\/strong>/'); return false; }