mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-23 08:34:39 +01:00
fix: null dist
This commit is contained in:
@@ -109,13 +109,9 @@ String? _parseUpTime(String raw) {
|
||||
}
|
||||
|
||||
String? _parseSysVer(String raw, String hostname) {
|
||||
try {
|
||||
final s = raw.split('=');
|
||||
if (s.length == 2) {
|
||||
return s[1].replaceAll('"', '').replaceFirst('\n', '');
|
||||
}
|
||||
} finally {
|
||||
// ignore: control_flow_in_finally
|
||||
return hostname.isEmpty ? null : hostname;
|
||||
final s = raw.split('=');
|
||||
if (s.length == 2) {
|
||||
return s[1].replaceAll('"', '').replaceFirst('\n', '');
|
||||
}
|
||||
return hostname.isEmpty ? null : hostname;
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 501;
|
||||
static const int build = 508;
|
||||
static const String engine = "3.13.1";
|
||||
static const String buildAt = "2023-08-27 00:15:00.994465";
|
||||
static const int modifications = 4;
|
||||
static const String buildAt = "2023-08-28 19:31:32.616141";
|
||||
static const int modifications = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user