diff --git a/ProxySU/MainWindow.xaml.cs b/ProxySU/MainWindow.xaml.cs index 5b65c67..687c9b7 100644 --- a/ProxySU/MainWindow.xaml.cs +++ b/ProxySU/MainWindow.xaml.cs @@ -5993,7 +5993,7 @@ namespace ProxySU + "acme.sh......"; MainWindowsShowInfo(currentStatus); - sshShellCommand = @"acme.sh --uninstall"; + sshShellCommand = @"/root/.acme.sh/acme.sh --uninstall"; currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); sshShellCommand = @"rm -r ~/.acme.sh"; @@ -6010,6 +6010,9 @@ namespace ProxySU } else { + sshShellCommand = @"sed -i 's/. ""/root/.acme.sh/acme.sh.env""//g' /root/.bashrc"; + currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); + //******"acme.sh卸载成功!"****** SetUpProgressBarProcessing(46); currentStatus = "acme.sh" + Application.Current.FindResource("DisplayInstallInfo_RemoveProxySoftSuccess").ToString(); @@ -8087,11 +8090,11 @@ namespace ProxySU return false; } - //sshShellCommand = @"cd ~/.acme.sh/"; - //currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); + sshShellCommand = @"cd ~/.acme.sh/"; + currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); - //sshShellCommand = @"alias acme.sh=~/.acme.sh/acme.sh"; - //currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); + sshShellCommand = @"alias acme.sh=~/.acme.sh/acme.sh"; + currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); //****** "申请域名证书......" ******24 SetUpProgressBarProcessing(55); diff --git a/ProxySU/bin/Beta/Beta.zip b/ProxySU/bin/Beta/Beta.zip index 88a353b..d35f54b 100644 Binary files a/ProxySU/bin/Beta/Beta.zip and b/ProxySU/bin/Beta/Beta.zip differ