saveEedit

This commit is contained in:
Mossimo
2021-11-21 14:21:00 +08:00
parent a41d089c24
commit 402e70f3dd
2 changed files with 2 additions and 2 deletions
@@ -530,7 +530,7 @@ namespace System.Application.Services.Implementation
//GenericCertificate = proxyServer.CertificateManager.RootCertificate
};
MessageBox.Show($"Liunx Hosts 代理模式 需要 Root 权限,或使用 “sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port {freeport}” 映射到其他端口且修改代理设置监听端口");
Browser2.Open($"https://www.steampp.net/unixhostaccess?prot={freeport}");
}
else
{
+1 -1
View File
@@ -242,7 +242,7 @@ namespace System.Application.Services
if (r.ResultType != OperationResultType.Success)
{
if (OperatingSystem2.IsMacOS || (OperatingSystem2.IsLinux && Environment.UserName.ToLower() != "root"))
if (OperatingSystem2.IsMacOS)
{
Browser2.Open("https://www.steampp.net/unixhostaccess");
//platformService.RunShell($" \\cp \"{Path.Combine(IOPath.CacheDirectory, "hosts")}\" \"{platformService.HostsFilePath}\"");