mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-25 22:56:09 +03:00
4.0.4
This commit is contained in:
parent
2378f0c416
commit
b9b41b6554
@ -38,6 +38,10 @@ namespace ProxySuper.Core.Services
|
|||||||
ConfigureSoftware();
|
ConfigureSoftware();
|
||||||
WriteOutput("系统工具安装完成");
|
WriteOutput("系统工具安装完成");
|
||||||
|
|
||||||
|
WriteOutput("检测网络环境");
|
||||||
|
EnsureIP();
|
||||||
|
WriteOutput("检测网络环境完成");
|
||||||
|
|
||||||
if (Parameters.BrookType == BrookType.wssserver)
|
if (Parameters.BrookType == BrookType.wssserver)
|
||||||
{
|
{
|
||||||
WriteOutput("检测域名是否绑定本机IP...");
|
WriteOutput("检测域名是否绑定本机IP...");
|
||||||
|
@ -57,6 +57,10 @@ namespace ProxySuper.Core.Services
|
|||||||
ConfigFirewalld();
|
ConfigFirewalld();
|
||||||
WriteOutput("防火墙配置完成");
|
WriteOutput("防火墙配置完成");
|
||||||
|
|
||||||
|
WriteOutput("检测网络环境");
|
||||||
|
EnsureIP();
|
||||||
|
WriteOutput("检测网络环境完成");
|
||||||
|
|
||||||
WriteOutput("同步系统和本地时间...");
|
WriteOutput("同步系统和本地时间...");
|
||||||
SyncTimeDiff();
|
SyncTimeDiff();
|
||||||
WriteOutput("时间同步完成");
|
WriteOutput("时间同步完成");
|
||||||
|
@ -150,8 +150,6 @@ namespace ProxySuper.Core.Services
|
|||||||
RunCmd(@"sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config");
|
RunCmd(@"sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EnsureIP();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -87,6 +87,10 @@ namespace ProxySuper.Core.Services
|
|||||||
ConfigFirewalld();
|
ConfigFirewalld();
|
||||||
WriteOutput("防火墙配置完成");
|
WriteOutput("防火墙配置完成");
|
||||||
|
|
||||||
|
WriteOutput("检测网络环境");
|
||||||
|
EnsureIP();
|
||||||
|
WriteOutput("检测网络环境完成");
|
||||||
|
|
||||||
WriteOutput("同步系统和本地时间...");
|
WriteOutput("同步系统和本地时间...");
|
||||||
SyncTimeDiff();
|
SyncTimeDiff();
|
||||||
WriteOutput("时间同步完成");
|
WriteOutput("时间同步完成");
|
||||||
|
@ -60,6 +60,10 @@ namespace ProxySuper.Core.Services
|
|||||||
ConfigFirewalld();
|
ConfigFirewalld();
|
||||||
WriteOutput("防火墙配置完成");
|
WriteOutput("防火墙配置完成");
|
||||||
|
|
||||||
|
WriteOutput("检测网络环境");
|
||||||
|
EnsureIP();
|
||||||
|
WriteOutput("检测网络环境完成");
|
||||||
|
|
||||||
WriteOutput("同步系统和本地时间...");
|
WriteOutput("同步系统和本地时间...");
|
||||||
SyncTimeDiff();
|
SyncTimeDiff();
|
||||||
WriteOutput("时间同步完成");
|
WriteOutput("时间同步完成");
|
||||||
@ -69,11 +73,12 @@ namespace ProxySuper.Core.Services
|
|||||||
WriteOutput("检测域名是否绑定本机IP...");
|
WriteOutput("检测域名是否绑定本机IP...");
|
||||||
ValidateDomain();
|
ValidateDomain();
|
||||||
WriteOutput("域名检测完成");
|
WriteOutput("域名检测完成");
|
||||||
}
|
|
||||||
|
|
||||||
WriteOutput("安装Caddy...");
|
WriteOutput("安装Caddy...");
|
||||||
InstallCaddy();
|
InstallCaddy();
|
||||||
WriteOutput("Caddy安装完成");
|
WriteOutput("Caddy安装完成");
|
||||||
|
}
|
||||||
|
|
||||||
WriteOutput("安装Xray-Core...");
|
WriteOutput("安装Xray-Core...");
|
||||||
InstallXrayWithCert();
|
InstallXrayWithCert();
|
||||||
|
@ -89,7 +89,7 @@ namespace ProxySuper.Core.ViewModels
|
|||||||
get => Settings.ShadowSocksPort;
|
get => Settings.ShadowSocksPort;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
Settings.VMESS_KCP_Port = value;
|
Settings.ShadowSocksPort = value;
|
||||||
RaisePropertyChanged("ShadowSocksPort");
|
RaisePropertyChanged("ShadowSocksPort");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -142,6 +142,7 @@ namespace ProxySuper.Core.ViewModels
|
|||||||
get => Settings.TrojanPassword;
|
get => Settings.TrojanPassword;
|
||||||
set => Settings.TrojanPassword = value;
|
set => Settings.TrojanPassword = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Checked_Trojan_TCP
|
public bool Checked_Trojan_TCP
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -301,17 +301,6 @@
|
|||||||
Width="200" />
|
Width="200" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--Trojan端口-->
|
|
||||||
<StackPanel Margin="30,15,0,0"
|
|
||||||
Orientation="Horizontal"
|
|
||||||
Visibility="{
|
|
||||||
Binding Path=Checked_Trojan_TCP,
|
|
||||||
Converter={StaticResource VisibleConverter}
|
|
||||||
}">
|
|
||||||
<Label Content="{DynamicResource TrojanPassword}" Foreground="CadetBlue" Width="120" />
|
|
||||||
<TextBox Text="{Binding Path=TrojanPassword}" Width="200" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<!--xray prot-->
|
<!--xray prot-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="30,15,0,0"
|
||||||
Orientation="Horizontal">
|
Orientation="Horizontal">
|
||||||
|
Loading…
Reference in New Issue
Block a user