diff --git a/ProxySU/MainWindow.xaml b/ProxySU/MainWindow.xaml index b782b88..42f9505 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-beta2" Height="675" Width="650"> + Title="ProxySU - v2.4.19-beta3" Height="675" Width="650"> diff --git a/ProxySU/ResultClientInformation.xaml.cs b/ProxySU/ResultClientInformation.xaml.cs index b41a868..4c19dd0 100644 --- a/ProxySU/ResultClientInformation.xaml.cs +++ b/ProxySU/ResultClientInformation.xaml.cs @@ -2217,8 +2217,12 @@ namespace ProxySU //&encryption={trojanGoEncryption} //&plugin={trojanGoPlugin} //#{trojanGoRemarks} - string trojanGoUrl = $"trojan-go://{trojanGoPassword}@{trojanGoHost}:{trojanGoPort}/?sni={trojanGoSni}&type={trojanGoType}&host={trojanGohostName}"; + string trojanGoUrl = $"trojan-go://{trojanGoPassword}@{trojanGoHost}:{trojanGoPort}/?sni={trojanGoSni}&type={trojanGoType}"; + if (String.IsNullOrEmpty(trojanGohostName) == false) + { + trojanGoUrl += $"&host={trojanGohostName}"; + } if (String.IsNullOrEmpty(trojanGoPath) == false) { trojanGoUrl += $"&path={trojanGoPath}"; diff --git a/ProxySU/bin/Beta/Beta.zip b/ProxySU/bin/Beta/Beta.zip index deebcf9..f2e7223 100644 Binary files a/ProxySU/bin/Beta/Beta.zip and b/ProxySU/bin/Beta/Beta.zip differ