fix: disk parse

This commit is contained in:
lollipopkit
2024-05-09 14:51:41 +08:00
parent 8ed6a3869e
commit dc16574a04
12 changed files with 163 additions and 141 deletions

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 880;
static const int build = 881;
static const String engine = "3.19.6";
static const String buildAt = "2024-05-09 13:38:11";
static const int modifications = 7;
static const int script = 45;
static const String buildAt = "2024-05-09 14:50:53";
static const int modifications = 12;
static const int script = 46;
}

View File

@@ -1,9 +1,6 @@
import 'dart:convert';
abstract final class Miscs {
/// RegExp for number
static final numReg = RegExp(r'\s{1,}');
static final blankReg = RegExp(r'\s+');
/// RegExp for password request

View File

@@ -42,7 +42,7 @@ abstract final class InitStatus {
),
disk: [
Disk(
dev: '/',
fs: '/',
mount: '/',
usedPercent: 0,
used: BigInt.zero,