mirror of
https://github.com/proxysu/ProxySU.git
synced 2025-04-01 12:56:18 +03:00
merge
This commit is contained in:
parent
860dfb6520
commit
2ca98258b8
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue