Update & Fix

- update deps.
- splash support dark bg
- fix parse cpu temp
This commit is contained in:
Junyuan Feng
2022-05-04 19:44:13 +08:00
parent 52b82af52c
commit 2a0cc5ca30
27 changed files with 189 additions and 74 deletions

View File

@@ -244,7 +244,7 @@ class ServerProvider extends BusyProvider {
}
String _getCPUTemp(String type, String value) {
const noMatch = r"cat: '/sys/class/thermal/thermal_zone*/type'";
const noMatch = "/sys/class/thermal/thermal_zone*/type";
// Not support to get CPU temperature
if (value.contains(noMatch) ||
type.contains(noMatch) ||