mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
opt.: OS type
This commit is contained in:
@@ -112,12 +112,12 @@ class AppUpdatePlatformSpecific<T> {
|
||||
};
|
||||
|
||||
T? get current {
|
||||
switch (platform) {
|
||||
case PlatformType.macos:
|
||||
switch (OS.type) {
|
||||
case OS.macos:
|
||||
return mac;
|
||||
case PlatformType.ios:
|
||||
case OS.ios:
|
||||
return ios;
|
||||
case PlatformType.android:
|
||||
case OS.android:
|
||||
return android;
|
||||
default:
|
||||
return null;
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 562;
|
||||
static const int build = 563;
|
||||
static const String engine = "3.13.2";
|
||||
static const String buildAt = "2023-09-17 00:26:50";
|
||||
static const int modifications = 2;
|
||||
static const String buildAt = "2023-09-17 14:30:45";
|
||||
static const int modifications = 3;
|
||||
static const int script = 15;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user