mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
Merge branch 'dev'
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -63,3 +63,4 @@ untranlated.json
|
|||||||
|
|
||||||
.vscode/settings.json
|
.vscode/settings.json
|
||||||
more_build_data.json
|
more_build_data.json
|
||||||
|
trans.txt
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ Especially thanks to <a href="https://github.com/TerminalStudio/dartssh2">dartss
|
|||||||
|
|
||||||
[iOS & macOS](https://apps.apple.com/app/id1586449703) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_server_box/releases)
|
[iOS & macOS](https://apps.apple.com/app/id1586449703) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_server_box/releases)
|
||||||
|
|
||||||
|
All deprecated versions before `v930` can be found in [here](https://cdn.lolli.tech/serverbox/?sort=time&order=desc&layout=grid).
|
||||||
|
|
||||||
|
|
||||||
## 🔖 Feature
|
## 🔖 Feature
|
||||||
- `Status chart` (CPU, Sensors, GPU...), `SSH` Term, `SFTP`, `Docker & Pkg & Process`...
|
- `Status chart` (CPU, Sensors, GPU...), `SSH` Term, `SFTP`, `Docker & Pkg & Process`...
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
[iOS & macOS](https://apps.apple.com/app/id1586449703) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_server_box/releases)
|
[iOS & macOS](https://apps.apple.com/app/id1586449703) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_server_box/releases)
|
||||||
|
|
||||||
|
所有 `v930` 之前的版本可以在 [这里](https://cdn.lolli.tech/serverbox/?sort=time&order=desc&layout=grid) 找到。
|
||||||
|
|
||||||
|
|
||||||
## 🔖 特点
|
## 🔖 特点
|
||||||
- `状态图表`(CPU、传感器、GPU 等), `SSH` 终端, `SFTP`, `Docker & 包 & 进程` 管理器...
|
- `状态图表`(CPU、传感器、GPU 等), `SSH` 终端, `SFTP`, `Docker & 包 & 进程` 管理器...
|
||||||
|
|||||||
@@ -690,7 +690,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
|
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
|
||||||
@@ -700,7 +700,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||||
@@ -826,7 +826,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
|
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
|
||||||
@@ -836,7 +836,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||||
@@ -854,7 +854,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
|
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
|
||||||
@@ -864,7 +864,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||||
@@ -885,7 +885,7 @@
|
|||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
@@ -898,7 +898,7 @@
|
|||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@executable_path/../../Frameworks",
|
"@executable_path/../../Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
|
||||||
@@ -924,7 +924,7 @@
|
|||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
@@ -937,7 +937,7 @@
|
|||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@executable_path/../../Frameworks",
|
"@executable_path/../../Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
@@ -960,7 +960,7 @@
|
|||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
@@ -973,7 +973,7 @@
|
|||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@executable_path/../../Frameworks",
|
"@executable_path/../../Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
@@ -996,7 +996,7 @@
|
|||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_ASSET_PATHS = "";
|
DEVELOPMENT_ASSET_PATHS = "";
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
@@ -1008,7 +1008,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
|
||||||
@@ -1037,7 +1037,7 @@
|
|||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_ASSET_PATHS = "";
|
DEVELOPMENT_ASSET_PATHS = "";
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
@@ -1049,7 +1049,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
|
||||||
PRODUCT_NAME = ServerBox;
|
PRODUCT_NAME = ServerBox;
|
||||||
@@ -1075,7 +1075,7 @@
|
|||||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_ASSET_PATHS = "";
|
DEVELOPMENT_ASSET_PATHS = "";
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
@@ -1087,7 +1087,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
|
||||||
PRODUCT_NAME = ServerBox;
|
PRODUCT_NAME = ServerBox;
|
||||||
|
|||||||
@@ -3,8 +3,9 @@ import 'dart:convert';
|
|||||||
import 'package:fl_lib/fl_lib.dart';
|
import 'package:fl_lib/fl_lib.dart';
|
||||||
import 'package:toolbox/core/extension/context/locale.dart';
|
import 'package:toolbox/core/extension/context/locale.dart';
|
||||||
import 'package:toolbox/data/model/container/type.dart';
|
import 'package:toolbox/data/model/container/type.dart';
|
||||||
|
import 'package:toolbox/data/res/misc.dart';
|
||||||
|
|
||||||
abstract final class ContainerPs {
|
sealed class ContainerPs {
|
||||||
final String? id = null;
|
final String? id = null;
|
||||||
final String? image = null;
|
final String? image = null;
|
||||||
String? get name;
|
String? get name;
|
||||||
@@ -140,7 +141,11 @@ final class DockerPs implements ContainerPs {
|
|||||||
String? get cmd => null;
|
String? get cmd => null;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool get running => state?.contains('Up ') ?? false;
|
bool get running {
|
||||||
|
if (state?.contains('Exited') == true) return false;
|
||||||
|
if (state?.contains('Up') == true) return true;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void parseStats(String s) {
|
void parseStats(String s) {
|
||||||
@@ -154,12 +159,12 @@ final class DockerPs implements ContainerPs {
|
|||||||
/// CONTAINER ID NAMES IMAGE STATUS
|
/// CONTAINER ID NAMES IMAGE STATUS
|
||||||
/// a049d689e7a1 aria2-pro p3terx/aria2-pro Up 3 weeks
|
/// a049d689e7a1 aria2-pro p3terx/aria2-pro Up 3 weeks
|
||||||
factory DockerPs.parse(String raw) {
|
factory DockerPs.parse(String raw) {
|
||||||
final parts = raw.split(RegExp(r'\s{2,}'));
|
final parts = raw.split(Miscs.multiBlankreg);
|
||||||
return DockerPs(
|
return DockerPs(
|
||||||
id: parts[0],
|
id: parts[0],
|
||||||
names: parts[1],
|
names: parts[1],
|
||||||
image: parts[2],
|
image: parts[2],
|
||||||
state: parts[3],
|
state: parts[3].trim(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -277,8 +277,8 @@ enum ContainerCmdType {
|
|||||||
ContainerCmdType.version => '$prefix version $_jsonFmt',
|
ContainerCmdType.version => '$prefix version $_jsonFmt',
|
||||||
ContainerCmdType.ps => switch (type) {
|
ContainerCmdType.ps => switch (type) {
|
||||||
/// Use [_jsonFmt] in Docker will cause the operation to slow down.
|
/// Use [_jsonFmt] in Docker will cause the operation to slow down.
|
||||||
ContainerType.docker => '$prefix ps -a --format "table '
|
ContainerType.docker => '$prefix ps -a --format "table {{printf \\"'
|
||||||
'{{printf \\"${"%-30.30s " * 4}\\" .ID .Names .Image .Status}}"',
|
'%-15.15s ${"%-30.30s " * 3}\\" .ID .Names .Image .Status}}"',
|
||||||
ContainerType.podman => '$prefix ps -a $_jsonFmt',
|
ContainerType.podman => '$prefix ps -a $_jsonFmt',
|
||||||
},
|
},
|
||||||
ContainerCmdType.stats =>
|
ContainerCmdType.stats =>
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
class BuildData {
|
class BuildData {
|
||||||
static const String name = "ServerBox";
|
static const String name = "ServerBox";
|
||||||
static const int build = 923;
|
static const int build = 936;
|
||||||
static const String engine = "3.22.1";
|
static const String engine = "3.22.1";
|
||||||
static const String buildAt = "2024-06-01 22:31:14";
|
static const String buildAt = "2024-06-06 16:18:25";
|
||||||
static const int modifications = 4;
|
static const int modifications = 2;
|
||||||
static const int script = 48;
|
static const int script = 48;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import 'dart:convert';
|
|||||||
|
|
||||||
abstract final class Miscs {
|
abstract final class Miscs {
|
||||||
static final blankReg = RegExp(r'\s+');
|
static final blankReg = RegExp(r'\s+');
|
||||||
|
static final multiBlankreg = RegExp(r'\s{2,}');
|
||||||
|
|
||||||
/// RegExp for password request
|
/// RegExp for password request
|
||||||
static final pwdRequestWithUserReg = RegExp(r'\[sudo\] password for (.+):');
|
static final pwdRequestWithUserReg = RegExp(r'\[sudo\] password for (.+):');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
abstract final class Urls {
|
abstract final class Urls {
|
||||||
static const cdnBase = 'https://cdn.lolli.tech/serverbox';
|
static const cdnBase = 'https://cdn.lolli.tech/serverbox';
|
||||||
static const updateCfg = '$cdnBase/update.json';
|
static const updateCfg = '$cdnBase/update2.json';
|
||||||
static const myGithub = 'https://github.com/lollipopkit';
|
static const myGithub = 'https://github.com/lollipopkit';
|
||||||
static const appHelp = '$myGithub/flutter_server_box#-help';
|
static const appHelp = '$myGithub/flutter_server_box#-help';
|
||||||
static const appWiki = '$myGithub/flutter_server_box/wiki';
|
static const appWiki = '$myGithub/flutter_server_box/wiki';
|
||||||
|
|||||||
@@ -276,6 +276,8 @@ class SettingStore extends PersistentStore {
|
|||||||
/// fmt: https://example.com/{DIST}-{BRIGHT}.png
|
/// fmt: https://example.com/{DIST}-{BRIGHT}.png
|
||||||
late final serverLogoUrl = property('serverLogoUrl', '');
|
late final serverLogoUrl = property('serverLogoUrl', '');
|
||||||
|
|
||||||
|
late final betaTest = property('betaTest', false);
|
||||||
|
|
||||||
// Never show these settings for users
|
// Never show these settings for users
|
||||||
//
|
//
|
||||||
// ------BEGIN------
|
// ------BEGIN------
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "de",
|
"@@locale": "de",
|
||||||
"about": "Über",
|
"about": "Über",
|
||||||
"aboutThanks": "Vielen Dank an die folgenden Personen, die daran teilgenommen haben.\n",
|
"aboutThanks": "Vielen Dank an die folgenden Personen, die daran teilgenommen haben.\n",
|
||||||
|
"acceptBeta": "Akzeptieren Sie Testversion-Updates",
|
||||||
"add": "Neu",
|
"add": "Neu",
|
||||||
"addAServer": "Server hinzufügen",
|
"addAServer": "Server hinzufügen",
|
||||||
"addPrivateKey": "Private key hinzufügen",
|
"addPrivateKey": "Private key hinzufügen",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "en",
|
"@@locale": "en",
|
||||||
"about": "About",
|
"about": "About",
|
||||||
"aboutThanks": "Thanks to the following people who participated in.",
|
"aboutThanks": "Thanks to the following people who participated in.",
|
||||||
|
"acceptBeta": "Accept test version updates",
|
||||||
"add": "Add",
|
"add": "Add",
|
||||||
"addAServer": "add a server",
|
"addAServer": "add a server",
|
||||||
"addPrivateKey": "Add private key",
|
"addPrivateKey": "Add private key",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "es",
|
"@@locale": "es",
|
||||||
"about": "Acerca de",
|
"about": "Acerca de",
|
||||||
"aboutThanks": "Gracias a los siguientes participantes.",
|
"aboutThanks": "Gracias a los siguientes participantes.",
|
||||||
|
"acceptBeta": "Aceptar actualizaciones de la versión de prueba",
|
||||||
"add": "Añadir",
|
"add": "Añadir",
|
||||||
"addAServer": "Agregar un servidor",
|
"addAServer": "Agregar un servidor",
|
||||||
"addPrivateKey": "Agregar una llave privada",
|
"addPrivateKey": "Agregar una llave privada",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "fr",
|
"@@locale": "fr",
|
||||||
"about": "À propos",
|
"about": "À propos",
|
||||||
"aboutThanks": "Merci aux personnes suivantes qui ont participé.",
|
"aboutThanks": "Merci aux personnes suivantes qui ont participé.",
|
||||||
|
"acceptBeta": "Accepter les mises à jour de la version de test",
|
||||||
"add": "Ajouter",
|
"add": "Ajouter",
|
||||||
"addAServer": "Ajouter un serveur",
|
"addAServer": "Ajouter un serveur",
|
||||||
"addPrivateKey": "Ajouter une clé privée",
|
"addPrivateKey": "Ajouter une clé privée",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "id",
|
"@@locale": "id",
|
||||||
"about": "Tentang",
|
"about": "Tentang",
|
||||||
"aboutThanks": "Terima kasih kepada orang -orang berikut yang berpartisipasi.",
|
"aboutThanks": "Terima kasih kepada orang -orang berikut yang berpartisipasi.",
|
||||||
|
"acceptBeta": "Terima pembaruan versi uji coba",
|
||||||
"add": "Menambahkan",
|
"add": "Menambahkan",
|
||||||
"addAServer": "tambahkan server",
|
"addAServer": "tambahkan server",
|
||||||
"addPrivateKey": "Tambahkan kunci pribadi",
|
"addPrivateKey": "Tambahkan kunci pribadi",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "ja",
|
"@@locale": "ja",
|
||||||
"about": "約",
|
"about": "約",
|
||||||
"aboutThanks": "以下の参加者に感謝します。",
|
"aboutThanks": "以下の参加者に感謝します。",
|
||||||
|
"acceptBeta": "テストバージョンの更新を受け入れる",
|
||||||
"add": "追加",
|
"add": "追加",
|
||||||
"addAServer": "サーバーを追加する",
|
"addAServer": "サーバーを追加する",
|
||||||
"addPrivateKey": "プライベートキーを追加",
|
"addPrivateKey": "プライベートキーを追加",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "nl",
|
"@@locale": "nl",
|
||||||
"about": "Over",
|
"about": "Over",
|
||||||
"aboutThanks": "Met dank aan de volgende mensen die hebben deelgenomen aan.",
|
"aboutThanks": "Met dank aan de volgende mensen die hebben deelgenomen aan.",
|
||||||
|
"acceptBeta": "Accepteer testversie-updates",
|
||||||
"add": "Toevoegen",
|
"add": "Toevoegen",
|
||||||
"addAServer": "een server toevoegen",
|
"addAServer": "een server toevoegen",
|
||||||
"addPrivateKey": "Privésleutel toevoegen",
|
"addPrivateKey": "Privésleutel toevoegen",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "pt",
|
"@@locale": "pt",
|
||||||
"about": "Sobre",
|
"about": "Sobre",
|
||||||
"aboutThanks": "Agradecimentos a todos os participantes.",
|
"aboutThanks": "Agradecimentos a todos os participantes.",
|
||||||
|
"acceptBeta": "Aceitar atualizações da versão de teste",
|
||||||
"add": "Adicionar",
|
"add": "Adicionar",
|
||||||
"addAServer": "Adicionar um servidor",
|
"addAServer": "Adicionar um servidor",
|
||||||
"addPrivateKey": "Adicionar uma chave privada",
|
"addPrivateKey": "Adicionar uma chave privada",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "ru",
|
"@@locale": "ru",
|
||||||
"about": "о",
|
"about": "о",
|
||||||
"aboutThanks": "Благодарности всем участникам.",
|
"aboutThanks": "Благодарности всем участникам.",
|
||||||
|
"acceptBeta": "Принять обновления тестовой версии",
|
||||||
"add": "добавить",
|
"add": "добавить",
|
||||||
"addAServer": "добавить сервер",
|
"addAServer": "добавить сервер",
|
||||||
"addPrivateKey": "добавить приватный ключ",
|
"addPrivateKey": "добавить приватный ключ",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "zh",
|
"@@locale": "zh",
|
||||||
"about": "关于",
|
"about": "关于",
|
||||||
"aboutThanks": "感谢以下参与的各位。",
|
"aboutThanks": "感谢以下参与的各位。",
|
||||||
|
"acceptBeta": "接受测试版更新推送",
|
||||||
"add": "新增",
|
"add": "新增",
|
||||||
"addAServer": "添加服务器",
|
"addAServer": "添加服务器",
|
||||||
"addPrivateKey": "添加一个私钥",
|
"addPrivateKey": "添加一个私钥",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"@@locale": "zh_TW",
|
"@@locale": "zh_TW",
|
||||||
"about": "關於",
|
"about": "關於",
|
||||||
"aboutThanks": "感謝以下參與的各位。",
|
"aboutThanks": "感謝以下參與的各位。",
|
||||||
|
"acceptBeta": "接受測試版更新推送",
|
||||||
"add": "新增",
|
"add": "新增",
|
||||||
"addAServer": "新增服務器",
|
"addAServer": "新增服務器",
|
||||||
"addPrivateKey": "新增一個私鑰",
|
"addPrivateKey": "新增一個私鑰",
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import 'package:toolbox/data/model/server/custom.dart';
|
|||||||
import 'package:toolbox/data/model/server/private_key_info.dart';
|
import 'package:toolbox/data/model/server/private_key_info.dart';
|
||||||
import 'package:toolbox/data/model/server/server_private_info.dart';
|
import 'package:toolbox/data/model/server/server_private_info.dart';
|
||||||
import 'package:toolbox/data/model/server/snippet.dart';
|
import 'package:toolbox/data/model/server/snippet.dart';
|
||||||
|
import 'package:toolbox/data/model/server/wol_cfg.dart';
|
||||||
import 'package:toolbox/data/model/ssh/virtual_key.dart';
|
import 'package:toolbox/data/model/ssh/virtual_key.dart';
|
||||||
import 'package:toolbox/data/res/build_data.dart';
|
import 'package:toolbox/data/res/build_data.dart';
|
||||||
import 'package:toolbox/data/res/misc.dart';
|
import 'package:toolbox/data/res/misc.dart';
|
||||||
@@ -87,6 +88,7 @@ Future<void> _initData() async {
|
|||||||
Hive.registerAdapter(NetViewTypeAdapter()); // 5
|
Hive.registerAdapter(NetViewTypeAdapter()); // 5
|
||||||
Hive.registerAdapter(ServerFuncBtnAdapter()); // 6
|
Hive.registerAdapter(ServerFuncBtnAdapter()); // 6
|
||||||
Hive.registerAdapter(ServerCustomAdapter()); // 7
|
Hive.registerAdapter(ServerCustomAdapter()); // 7
|
||||||
|
Hive.registerAdapter(WakeOnLanCfgAdapter()); // 8
|
||||||
|
|
||||||
await Stores.setting.init();
|
await Stores.setting.init();
|
||||||
await Stores.server.init();
|
await Stores.server.init();
|
||||||
@@ -98,6 +100,8 @@ Future<void> _initData() async {
|
|||||||
Pros.snippet.load();
|
Pros.snippet.load();
|
||||||
Pros.key.load();
|
Pros.key.load();
|
||||||
await Pros.app.init();
|
await Pros.app.init();
|
||||||
|
|
||||||
|
if (Stores.setting.betaTest.fetch()) AppUpdate.chan = AppUpdateChan.beta;
|
||||||
}
|
}
|
||||||
|
|
||||||
void _setupDebug() {
|
void _setupDebug() {
|
||||||
|
|||||||
@@ -206,7 +206,10 @@ class _ContainerPageState extends State<ContainerPage> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'${item.image ?? l10n.unknown} - ${item.running ? l10n.running : l10n.stopped}',
|
'${item.image ?? l10n.unknown} - ${switch (item) {
|
||||||
|
final PodmanPs ps => ps.running ? l10n.running : l10n.stopped,
|
||||||
|
final DockerPs ps => ps.state,
|
||||||
|
}}',
|
||||||
style: UIs.text13Grey,
|
style: UIs.text13Grey,
|
||||||
),
|
),
|
||||||
_buildPsItemStats(item),
|
_buildPsItemStats(item),
|
||||||
@@ -550,7 +553,10 @@ class _ContainerPageState extends State<ContainerPage> {
|
|||||||
case ContainerMenu.logs:
|
case ContainerMenu.logs:
|
||||||
AppRoutes.ssh(
|
AppRoutes.ssh(
|
||||||
spi: widget.spi,
|
spi: widget.spi,
|
||||||
initCmd: 'docker logs -f --tail 100 ${dItem.id}',
|
initCmd: '${switch (_container.type) {
|
||||||
|
ContainerType.podman => 'podman',
|
||||||
|
ContainerType.docker => 'docker',
|
||||||
|
}} logs -f --tail 100 ${dItem.id}',
|
||||||
).go(context);
|
).go(context);
|
||||||
break;
|
break;
|
||||||
case ContainerMenu.terminal:
|
case ContainerMenu.terminal:
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ ${GithubIds.participants.map((e) => '[$e](${e.url})').join(' ')}
|
|||||||
if (Stores.setting.autoCheckAppUpdate.fetch()) {
|
if (Stores.setting.autoCheckAppUpdate.fetch()) {
|
||||||
AppUpdateIface.doUpdate(
|
AppUpdateIface.doUpdate(
|
||||||
build: BuildData.build,
|
build: BuildData.build,
|
||||||
url: '${Urls.cdnBase}/update.json',
|
url: Urls.updateCfg,
|
||||||
context: context,
|
context: context,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ final class _WearHomeState extends State<WearHome> with AfterLayoutMixin {
|
|||||||
if (Stores.setting.autoCheckAppUpdate.fetch()) {
|
if (Stores.setting.autoCheckAppUpdate.fetch()) {
|
||||||
AppUpdateIface.doUpdate(
|
AppUpdateIface.doUpdate(
|
||||||
build: BuildData.build,
|
build: BuildData.build,
|
||||||
url: '${Urls.cdnBase}/update.json',
|
url: Urls.updateCfg,
|
||||||
context: context,
|
context: context,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1066,6 +1066,7 @@ class _SettingPageState extends State<SettingPage> {
|
|||||||
leading: const Icon(MingCute.more_3_fill),
|
leading: const Icon(MingCute.more_3_fill),
|
||||||
title: Text(l10n.more),
|
title: Text(l10n.more),
|
||||||
children: [
|
children: [
|
||||||
|
_buildBeta(),
|
||||||
_buildWakeLock(),
|
_buildWakeLock(),
|
||||||
if (isAndroid || isIOS) _buildCollectUsage(),
|
if (isAndroid || isIOS) _buildCollectUsage(),
|
||||||
_buildCollapseUI(),
|
_buildCollapseUI(),
|
||||||
@@ -1195,4 +1196,12 @@ class _SettingPageState extends State<SettingPage> {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Widget _buildBeta() {
|
||||||
|
return ListTile(
|
||||||
|
title: const Text('Beta Program'),
|
||||||
|
subtitle: Text(l10n.acceptBeta, style: UIs.textGrey),
|
||||||
|
trailing: StoreSwitch(prop: _setting.betaTest),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -515,9 +515,9 @@ class _SSHPageState extends State<SSHPage> with AutomaticKeepAliveClientMixin {
|
|||||||
_terminalStyle = TerminalStyle.fromTextStyle(textStyle);
|
_terminalStyle = TerminalStyle.fromTextStyle(textStyle);
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> _showHelp() async {
|
void _showHelp() {
|
||||||
if (!Stores.setting.sshTermHelpShown.fetch()) {
|
if (!Stores.setting.sshTermHelpShown.fetch()) {
|
||||||
await context.showRoundDialog(
|
context.showRoundDialog(
|
||||||
title: l10n.doc,
|
title: l10n.doc,
|
||||||
child: Text(l10n.sshTermHelp),
|
child: Text(l10n.sshTermHelp),
|
||||||
actions: [
|
actions: [
|
||||||
|
|||||||
@@ -472,19 +472,41 @@ class _SftpPageState extends State<SftpPage> with AfterLayoutMixin {
|
|||||||
void _delete(SftpName file) {
|
void _delete(SftpName file) {
|
||||||
context.pop();
|
context.pop();
|
||||||
final isDir = file.attr.isDirectory;
|
final isDir = file.attr.isDirectory;
|
||||||
final useRmr = Stores.setting.sftpRmrDir.fetch();
|
var useRmr = Stores.setting.sftpRmrDir.fetch();
|
||||||
final text = () {
|
final text = () {
|
||||||
if (isDir && !useRmr) {
|
if (isDir && !useRmr) {
|
||||||
return l10n.askContinue(
|
return l10n.askContinue('${l10n.delete} ${file.filename}');
|
||||||
'${l10n.dirEmpty}\n${l10n.delete} '
|
|
||||||
'${file.filename}',
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
return l10n.askContinue('${l10n.delete} ${file.filename}');
|
return l10n.askContinue('${l10n.delete} ${file.filename}');
|
||||||
}();
|
}();
|
||||||
|
|
||||||
|
// Most users don't know that SFTP can't delete a directory which is not
|
||||||
|
// empty, so we provide a checkbox to let user choose to use `rm -r` or not
|
||||||
context.showRoundDialog(
|
context.showRoundDialog(
|
||||||
child: Text(text),
|
|
||||||
title: l10n.attention,
|
title: l10n.attention,
|
||||||
|
child: Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
ListTile(
|
||||||
|
title: Text(text),
|
||||||
|
),
|
||||||
|
if (!useRmr)
|
||||||
|
StatefulBuilder(
|
||||||
|
builder: (_, setState) {
|
||||||
|
return CheckboxListTile(
|
||||||
|
title: Text(l10n.sftpRmrDirSummary),
|
||||||
|
value: useRmr,
|
||||||
|
onChanged: (val) {
|
||||||
|
setState(() {
|
||||||
|
useRmr = val ?? false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => context.pop(),
|
onPressed: () => context.pop(),
|
||||||
|
|||||||
@@ -471,7 +471,7 @@
|
|||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
INFOPLIST_FILE = Runner/Info.plist;
|
INFOPLIST_FILE = Runner/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Server Box";
|
INFOPLIST_KEY_CFBundleDisplayName = "Server Box";
|
||||||
@@ -481,7 +481,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
||||||
PRODUCT_NAME = "Server Box";
|
PRODUCT_NAME = "Server Box";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
@@ -608,7 +608,7 @@
|
|||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = BA88US33G6;
|
DEVELOPMENT_TEAM = BA88US33G6;
|
||||||
INFOPLIST_FILE = Runner/Info.plist;
|
INFOPLIST_FILE = Runner/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Server Box";
|
INFOPLIST_KEY_CFBundleDisplayName = "Server Box";
|
||||||
@@ -618,7 +618,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
||||||
PRODUCT_NAME = "Server Box";
|
PRODUCT_NAME = "Server Box";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
@@ -638,7 +638,7 @@
|
|||||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application";
|
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application";
|
||||||
CODE_SIGN_STYLE = Manual;
|
CODE_SIGN_STYLE = Manual;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 923;
|
CURRENT_PROJECT_VERSION = 936;
|
||||||
DEVELOPMENT_TEAM = "";
|
DEVELOPMENT_TEAM = "";
|
||||||
"DEVELOPMENT_TEAM[sdk=macosx*]" = BA88US33G6;
|
"DEVELOPMENT_TEAM[sdk=macosx*]" = BA88US33G6;
|
||||||
INFOPLIST_FILE = Runner/Info.plist;
|
INFOPLIST_FILE = Runner/Info.plist;
|
||||||
@@ -649,7 +649,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
||||||
MARKETING_VERSION = 1.0.923;
|
MARKETING_VERSION = 1.0.936;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
|
||||||
PRODUCT_NAME = "Server Box";
|
PRODUCT_NAME = "Server Box";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
|
|||||||
@@ -401,8 +401,8 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: "v1.0.31"
|
ref: "v1.0.33"
|
||||||
resolved-ref: f6322c5c2fad5230d1a882e79d52d1a0d246b8f4
|
resolved-ref: "7c4fdde33ec7c9ee226bfe0fd0c148f2d3f3ca54"
|
||||||
url: "https://github.com/lppcg/fl_lib"
|
url: "https://github.com/lppcg/fl_lib"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.1"
|
version: "0.0.1"
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ dependencies:
|
|||||||
fl_lib:
|
fl_lib:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/lppcg/fl_lib
|
url: https://github.com/lppcg/fl_lib
|
||||||
ref: v1.0.31
|
ref: v1.0.33
|
||||||
|
|
||||||
dependency_overrides:
|
dependency_overrides:
|
||||||
# dartssh2:
|
# dartssh2:
|
||||||
|
|||||||
Reference in New Issue
Block a user