This commit is contained in:
lollipopkit
2023-03-18 00:09:24 +08:00
parent 350d248776
commit 3f3240040a
14 changed files with 27 additions and 14 deletions

View File

@@ -158,7 +158,7 @@ class ServerProvider extends BusyProvider {
// after connected
s.cs = ServerState.connected;
final writeResult = await s.client!
.run("echo '$shellCmd' > $shellPath && chmod +x $shellPath")
.run(installShellCmd)
.string;
// if write failed