1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-22 05:06:08 +03:00
This commit is contained in:
autumn 2021-08-02 11:37:16 +08:00
parent 860dfb6520
commit 2ca98258b8
2 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,7 @@ namespace ProxySuper.Core.Models.Projects
{ {
var list = new List<int>(); var list = new List<int>();
list.Add(80); list.Add(80);
list.Add(443); list.Add(Port);
if (Types.Contains(XrayType.VLESS_KCP)) if (Types.Contains(XrayType.VLESS_KCP))
{ {

View File

@ -815,10 +815,14 @@ namespace ProxySuper.Core.Services
} }
else if (CmdType == CmdType.Dnf) 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"; return "dnf clean all;dnf makecache";
} }
else if (CmdType == CmdType.Yum) 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"; return "yum clean all;yum makecache";
} }