diff --git a/ProxySU/MainWindow.xaml b/ProxySU/MainWindow.xaml index 8bce445..622202a 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.24 Beta2" Height="675" Width="650"> + Title="ProxySU - v2.4.24 Beta3" Height="675" Width="650"> diff --git a/ProxySU/MainWindow.xaml.cs b/ProxySU/MainWindow.xaml.cs index 7b56501..6bc1b85 100644 --- a/ProxySU/MainWindow.xaml.cs +++ b/ProxySU/MainWindow.xaml.cs @@ -8637,8 +8637,9 @@ namespace ProxySU currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); //设置伪装网站/纯ipv6主机暂不设置 - //if (String.IsNullOrEmpty(ReceiveConfigurationParameters[7]) == false && onlyIpv6 == false) - //{ + // && onlyIpv6 == false + if (String.IsNullOrEmpty(ReceiveConfigurationParameters[7]) == false) + { sshShellCommand = $"sed -i 's/##reverse_Proxy1##/reverse_proxy http:\\/\\/{ReceiveConfigurationParameters[7]} {{/ ' {upLoadPath}"; currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); @@ -8648,7 +8649,7 @@ namespace ProxySU sshShellCommand = $"sed -i 's/##reverse_Proxy3##/}}/' {upLoadPath}"; currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); - //} + } return true; } diff --git a/ProxySU/bin/Beta/Beta.zip b/ProxySU/bin/Beta/Beta.zip index 2572ef3..fa15b14 100644 Binary files a/ProxySU/bin/Beta/Beta.zip and b/ProxySU/bin/Beta/Beta.zip differ