diff --git a/ProxySuper.Core/Models/Projects/XraySettings.cs b/ProxySuper.Core/Models/Projects/XraySettings.cs index b332764..709da3f 100644 --- a/ProxySuper.Core/Models/Projects/XraySettings.cs +++ b/ProxySuper.Core/Models/Projects/XraySettings.cs @@ -53,7 +53,7 @@ namespace ProxySuper.Core.Models.Projects { var list = new List(); list.Add(80); - list.Add(443); + list.Add(Port); if (Types.Contains(XrayType.VLESS_KCP)) { diff --git a/ProxySuper.Core/Services/ProjectBase.cs b/ProxySuper.Core/Services/ProjectBase.cs index 074cb98..983fcf2 100644 --- a/ProxySuper.Core/Services/ProjectBase.cs +++ b/ProxySuper.Core/Services/ProjectBase.cs @@ -815,10 +815,14 @@ namespace ProxySuper.Core.Services } else if (CmdType == CmdType.Dnf) { + RunCmd("echo \"export LC_ALL=en_US.UTF-8\" >> /etc/profile"); + RunCmd("source /etc/profile"); return "dnf clean all;dnf makecache"; } else if (CmdType == CmdType.Yum) { + RunCmd("echo \"export LC_ALL=en_US.UTF-8\" >> /etc/profile"); + RunCmd("source /etc/profile"); return "yum clean all;yum makecache"; }