Code clean

This commit is contained in:
2dust
2026-04-26 19:24:57 +08:00
parent ae662a628d
commit 05e349e45c
18 changed files with 148 additions and 99 deletions
@@ -548,6 +548,7 @@ public partial class CoreConfigV2rayService
FillOutboundMux(outbound);
break;
case nameof(ETransport.grpc):
GrpcSettings4Ray grpcSettings = new()
{
@@ -299,7 +299,6 @@ public class UpdateService(Config config, Func<bool, string, Task> updateFunc)
return url;
}
else if (Utils.IsLinux())
{
var arch = RuntimeInformation.ProcessArchitecture;
@@ -314,7 +313,6 @@ public class UpdateService(Config config, Func<bool, string, Task> updateFunc)
_ => null,
};
}
else if (Utils.IsMacOS())
{
return RuntimeInformation.ProcessArchitecture switch