opt: toleranter on gpu parsing

This commit is contained in:
lollipopkit
2024-05-23 20:05:56 +08:00
parent eb0100d432
commit 5bcb950275
9 changed files with 448 additions and 50 deletions

View File

@@ -71,11 +71,7 @@ class NvidiaSmi {
.firstOrNull
?.innerText;
final fanSpeed = gpu.findElements('fan_speed').firstOrNull?.innerText;
if (name != null &&
temp != null &&
powerDraw != null &&
powerLimit != null &&
memory != null) {
if (name != null && temp != null) {
return NvidiaSmiItem(
name: name,
uuid: gpu.findElements('uuid').firstOrNull?.innerText ?? '',

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 909;
static const int build = 910;
static const String engine = "3.22.0";
static const String buildAt = "2024-05-23 00:45:04";
static const int modifications = 11;
static const String buildAt = "2024-05-23 19:27:43";
static const int modifications = 2;
static const int script = 48;
}