mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
Update & Fix
- update deps. - splash support dark bg - fix parse cpu temp
This commit is contained in:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user