1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-02-16 22:53:13 +03:00

解决unzip可能出现的问题

This commit is contained in:
ProxySU 2020-09-23 23:33:22 +08:00
parent 7072d2afd0
commit 2eab7f026e

View File

@ -2020,7 +2020,7 @@ namespace ProxySU
currentShellCommandResult = client.RunCommand(sshShellCommand).Result;
TextBoxMonitorCommandResults.Dispatcher.BeginInvoke(updateMonitorAction, TextBoxMonitorCommandResults, currentShellCommandResult);//显示命令执行的结果
sshShellCommand = @"unzip /tmp/caddy.zip";
sshShellCommand = @"yes | unzip -o /tmp/caddy.zip";
TextBoxMonitorCommandResults.Dispatcher.BeginInvoke(updateMonitorAction, TextBoxMonitorCommandResults, sshShellCommand);//显示执行的命令
currentShellCommandResult = client.RunCommand(sshShellCommand).Result;
TextBoxMonitorCommandResults.Dispatcher.BeginInvoke(updateMonitorAction, TextBoxMonitorCommandResults, currentShellCommandResult);//显示命令执行的结果
@ -6953,7 +6953,7 @@ namespace ProxySU
currentShellCommandResult = client.RunCommand(sshShellCommand).Result;
TextBoxMonitorCommandResults.Dispatcher.BeginInvoke(updateMonitorAction, TextBoxMonitorCommandResults, currentShellCommandResult);//显示命令执行的结果
sshShellCommand = @"unzip /tmp/caddy.zip";
sshShellCommand = @"yes | unzip -o /tmp/caddy.zip";
TextBoxMonitorCommandResults.Dispatcher.BeginInvoke(updateMonitorAction, TextBoxMonitorCommandResults, sshShellCommand);//显示执行的命令
currentShellCommandResult = client.RunCommand(sshShellCommand).Result;
TextBoxMonitorCommandResults.Dispatcher.BeginInvoke(updateMonitorAction, TextBoxMonitorCommandResults, currentShellCommandResult);//显示命令执行的结果