mirror of
https://github.com/proxysu/ProxySU.git
synced 2025-02-16 14:43:14 +03:00
修正CentOS8下安装NavieProxy防火墙开端口错误
This commit is contained in:
parent
85d4070788
commit
b55f6f4a60
@ -314,7 +314,7 @@
|
||||
<RowDefinition></RowDefinition>
|
||||
<RowDefinition></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Text="程序版本:1.5.1" Grid.Column="0" Grid.Row="0"></TextBlock>
|
||||
<TextBlock Text="程序版本:1.5.2" Grid.Column="0" Grid.Row="0"></TextBlock>
|
||||
|
||||
</Grid>
|
||||
|
||||
|
@ -2177,7 +2177,7 @@ namespace ProxySU
|
||||
|
||||
|
||||
//打开防火墙端口
|
||||
string openFireWallPort = ReceiveConfigurationParameters[1];
|
||||
string openFireWallPort = "443";//ReceiveConfigurationParameters[1];
|
||||
if (String.IsNullOrEmpty(client.RunCommand("command -v firewall-cmd").Result) == false)
|
||||
{
|
||||
if (String.Equals(openFireWallPort, "443"))
|
||||
|
@ -51,5 +51,5 @@ using System.Windows;
|
||||
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
||||
// 方法是按如下所示使用“*”: :
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.5.1.0")]
|
||||
[assembly: AssemblyFileVersion("1.5.1.0")]
|
||||
[assembly: AssemblyVersion("1.5.2.0")]
|
||||
[assembly: AssemblyFileVersion("1.5.2.0")]
|
||||
|
@ -174,15 +174,15 @@
|
||||
<PostBuildEvent>del "$(TargetDir)*.xml"
|
||||
del "$(TargetDir)*.pdb"
|
||||
del "$(TargetDir)*.zip"
|
||||
rmdir /s/q "$(TargetDir)naive_config"
|
||||
rmdir /s/q "$(TargetDir)trojan_config"
|
||||
rmdir /s/q "$(TargetDir)v2ray_config"
|
||||
del /F /S /Q "$(TargetDir)naive_config"
|
||||
del /F /S /Q "$(TargetDir)trojan_config"
|
||||
del /F /S /Q "$(TargetDir)v2ray_config"
|
||||
del /F /S /Q "$(TargetDir)TemplateConfg"
|
||||
mkdir "$(TargetDir)TemplateConfg"
|
||||
copy /Y "$(TargetDir)..\..\..\TemplateConfg\*.*" "$(TargetDir)TemplateConfg\"
|
||||
"$(TargetDir)..\..\..\7z\7z.exe" a $(TargetDir)Release.zip $(TargetDir) -xr!*config
|
||||
del /F /S /Q "$(TargetDir)..\Beta"
|
||||
mkdir "$(TargetDir)..\Beta"
|
||||
del "$(TargetDir)..\Beta\*.*"
|
||||
copy /Y "$(TargetDir)Release.zip" "$(TargetDir)..\Beta\Beta.zip"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user