opt.: OS type

This commit is contained in:
lollipopkit
2023-09-17 15:21:12 +08:00
parent 603e226995
commit f47aacaf6f
8 changed files with 95 additions and 91 deletions

View File

@@ -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;

View File

@@ -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;
}