mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
fix: macOS app zip struct
This commit is contained in:
@@ -245,13 +245,15 @@ class ServerProvider extends ChangeNotifier {
|
||||
_limiter.inc(sid);
|
||||
s.status.failedInfo = e.toString();
|
||||
_setServerState(s, ServerState.failed);
|
||||
_logger.warning('Connect to $sid failed', e);
|
||||
|
||||
/// In order to keep privacy, print [spi.name] instead of [spi.id]
|
||||
_logger.warning('Connect to ${spi.name} failed', e);
|
||||
return;
|
||||
}
|
||||
|
||||
final time2 = DateTime.now();
|
||||
final spentTime = time2.difference(time1).inMilliseconds;
|
||||
_logger.info('Connected to $sid in $spentTime ms.');
|
||||
_logger.info('Connected to ${spi.name} in $spentTime ms.');
|
||||
|
||||
_setServerState(s, ServerState.connected);
|
||||
|
||||
@@ -267,7 +269,7 @@ class ServerProvider extends ChangeNotifier {
|
||||
_limiter.inc(sid);
|
||||
s.status.failedInfo = e.toString();
|
||||
_setServerState(s, ServerState.failed);
|
||||
_logger.warning('Write script to $sid failed', e);
|
||||
_logger.warning('Write script to ${spi.name} failed', e);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 529;
|
||||
static const int build = 535;
|
||||
static const String engine = "3.13.2";
|
||||
static const String buildAt = "2023-09-06 21:16:27.707712";
|
||||
static const int modifications = 4;
|
||||
static const String buildAt = "2023-09-07 21:19:54.084724";
|
||||
static const int modifications = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user