diff --git a/ProxySU/MainWindow.xaml b/ProxySU/MainWindow.xaml index 18887b7..354d236 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" Height="675" Width="650"> + Title="ProxySU - v2.4.25 Beta2" Height="675" Width="650"> diff --git a/ProxySU/MainWindow.xaml.cs b/ProxySU/MainWindow.xaml.cs index 8e50dbb..07905d5 100644 --- a/ProxySU/MainWindow.xaml.cs +++ b/ProxySU/MainWindow.xaml.cs @@ -7953,12 +7953,18 @@ namespace ProxySU } //处理极其少见的xz-utils未安装的情况 - if (string.IsNullOrEmpty(client.RunCommand("command -v xz-utils").Result) == true) + + if (getApt == true) { sshShellCommand = $"{sshCmdInstall}xz-utils"; currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); - } + else if (getDnf == true || getYum == true) + { + sshShellCommand = $"{sshCmdInstall}xz-devel"; + currentShellCommandResult = MainWindowsShowCmd(client, sshShellCommand); + } + //检测是否安装lsof if (string.IsNullOrEmpty(client.RunCommand("command -v lsof").Result) == true) { diff --git a/ProxySU/Properties/AssemblyInfo.cs b/ProxySU/Properties/AssemblyInfo.cs index 60b13cf..5b57888 100644 --- a/ProxySU/Properties/AssemblyInfo.cs +++ b/ProxySU/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ using System.Windows; // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 // 方法是按如下所示使用“*”: : // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.4.24.0")] -[assembly: AssemblyFileVersion("2.4.24.0")] +[assembly: AssemblyVersion("2.4.25.0")] +[assembly: AssemblyFileVersion("2.4.25.0")] diff --git a/ProxySU/SSpluginWindow.xaml b/ProxySU/SSpluginWindow.xaml index 8c9fa12..a3af977 100644 --- a/ProxySU/SSpluginWindow.xaml +++ b/ProxySU/SSpluginWindow.xaml @@ -39,7 +39,7 @@ - + diff --git a/ProxySU/bin/Beta/Beta.zip b/ProxySU/bin/Beta/Beta.zip index 444e301..91bc360 100644 Binary files a/ProxySU/bin/Beta/Beta.zip and b/ProxySU/bin/Beta/Beta.zip differ