mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-22 05:06:08 +03:00
merge
This commit is contained in:
parent
860dfb6520
commit
2ca98258b8
@ -53,7 +53,7 @@ namespace ProxySuper.Core.Models.Projects
|
||||
{
|
||||
var list = new List<int>();
|
||||
list.Add(80);
|
||||
list.Add(443);
|
||||
list.Add(Port);
|
||||
|
||||
if (Types.Contains(XrayType.VLESS_KCP))
|
||||
{
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user