migrate: fl_lib

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-09-21 11:01:41 +08:00
parent 90b88ed795
commit 50af289574
15 changed files with 51 additions and 49 deletions

View File

@@ -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();
},