mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-23 16:45:27 +01:00
migrate: fl_lib
This commit is contained in:
@@ -54,7 +54,7 @@ enum ShellFunc {
|
||||
return '''
|
||||
mkdir -p $scriptDir
|
||||
cat > $scriptPath
|
||||
chmod 744 $scriptPath
|
||||
chmod 755 $scriptPath
|
||||
''';
|
||||
}
|
||||
|
||||
|
||||
@@ -306,11 +306,10 @@ class ServerProvider extends Provider {
|
||||
|
||||
_setServerState(s, ServerConn.connected);
|
||||
|
||||
final scriptRaw = ShellFunc.allScript(spi.custom?.cmds).uint8List;
|
||||
|
||||
try {
|
||||
final (_, writeScriptResult) = await sv.client!.exec(
|
||||
(session) async {
|
||||
final scriptRaw = ShellFunc.allScript(spi.custom?.cmds).uint8List;
|
||||
session.stdin.add(scriptRaw);
|
||||
session.stdin.close();
|
||||
},
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// This file is generated by fl_build. Do not edit.
|
||||
// ignore_for_file: prefer_single_quotes
|
||||
|
||||
class BuildData {
|
||||
abstract class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 1076;
|
||||
static const int build = 1091;
|
||||
static const int script = 58;
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ abstract final class GithubIds {
|
||||
'Liloupar',
|
||||
'dccif',
|
||||
'mikropsoft',
|
||||
'CakesTwix',
|
||||
};
|
||||
|
||||
static const participants = <GhId>{
|
||||
|
||||
@@ -127,7 +127,6 @@ class SettingStore extends PersistentStore {
|
||||
/// Whether use system's primary color as the app's primary color
|
||||
late final useSystemPrimaryColor = property('useSystemPrimaryColor', false);
|
||||
|
||||
|
||||
/// Only valid on iOS / Android / Windows
|
||||
late final useBioAuth = property('useBioAuth', false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user