diff --git a/ProxySU/MainWindow.xaml b/ProxySU/MainWindow.xaml index 704f56c..fa7c779 100644 --- a/ProxySU/MainWindow.xaml +++ b/ProxySU/MainWindow.xaml @@ -5,7 +5,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:ProxySU" mc:Ignorable="d" - Title="ProxySU - v2.4.19-beta4" Height="675" Width="650"> + Title="ProxySU - v2.4.19-beta5" Height="675" Width="650"> diff --git a/ProxySU/MainWindow.xaml.cs b/ProxySU/MainWindow.xaml.cs index 24681ed..6481292 100644 --- a/ProxySU/MainWindow.xaml.cs +++ b/ProxySU/MainWindow.xaml.cs @@ -8024,6 +8024,9 @@ namespace ProxySU string openFireWallPort = ReceiveConfigurationParameters[1]; if (String.IsNullOrEmpty(client.RunCommand("command -v firewall-cmd").Result) == false) { + //有很奇怪的vps主机,在firewalld未运行时,端口是关闭的,无法访问。所以要先启动firewalld + sshShellCommand = @"systemctl restart firewalld"; + currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); if (String.Equals(openFireWallPort, "443")) { sshShellCommand = @"firewall-cmd --zone=public --add-port=80/tcp --permanent"; diff --git a/ProxySU/ResultClientInformation.xaml.cs b/ProxySU/ResultClientInformation.xaml.cs index 4c19dd0..67c7afb 100644 --- a/ProxySU/ResultClientInformation.xaml.cs +++ b/ProxySU/ResultClientInformation.xaml.cs @@ -1724,7 +1724,7 @@ namespace ProxySU if (File.Exists($"v2ray_config\\{plainSavePath}\\config.json")) { File.Move($"v2ray_config\\{plainSavePath}\\config.json", $"{configSavePath}\\config.json"); - //Directory.Delete($"v2ray_config\\{plainSavePath}"); + Directory.Delete($"v2ray_config\\{plainSavePath}"); } using (StreamWriter sw = new StreamWriter($"{configSavePath}\\readme.txt")) diff --git a/ProxySU/bin/Beta/Beta.zip b/ProxySU/bin/Beta/Beta.zip index 1264a89..0533c2a 100644 Binary files a/ProxySU/bin/Beta/Beta.zip and b/ProxySU/bin/Beta/Beta.zip differ