From 2834924045cf6c8b0aaf911d07fe40dd03ff987b Mon Sep 17 00:00:00 2001 From: corbpie Date: Sun, 1 May 2022 13:23:23 +1000 Subject: [PATCH] Updated YABs version compatibility Updated YABs version compatibility for version v2022-04-30 --- app/Process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Process.php b/app/Process.php index 8e1f048..5a0a8b4 100644 --- a/app/Process.php +++ b/app/Process.php @@ -192,7 +192,7 @@ class Process } $version_array = explode(' ', preg_replace('!\s+!', ' ', $this->trimRemoveR($array[2]))); - if ($version_array[1] === 'v2021-12-28' || $version_array[1] === 'v2022-02-18') {//YABs version + if ($version_array[1] === 'v2021-12-28' || $version_array[1] === 'v2022-02-18' || $version_array[1] === 'v2022-04-30') {//YABs version $cpu = $this->trimRemoveR(str_replace(':', '', strstr($array[10], ': '))); $cpu_spec = explode(' ', strstr($array[11], ': '));//: 2 @ 3792.872 MHz $cpu_cores = $cpu_spec[1];