mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-11 05:49:41 +05:00
Code clean
This commit is contained in:
@@ -12,8 +12,10 @@ public class ActionPrecheckManager(Config config)
|
|||||||
|
|
||||||
// sing-box supported transports for different protocol types
|
// sing-box supported transports for different protocol types
|
||||||
private static readonly HashSet<string> SingboxUnsupportedTransports = [nameof(ETransport.kcp), nameof(ETransport.xhttp)];
|
private static readonly HashSet<string> SingboxUnsupportedTransports = [nameof(ETransport.kcp), nameof(ETransport.xhttp)];
|
||||||
|
|
||||||
private static readonly HashSet<EConfigType> SingboxTransportSupportedProtocols =
|
private static readonly HashSet<EConfigType> SingboxTransportSupportedProtocols =
|
||||||
[EConfigType.VMess, EConfigType.VLESS, EConfigType.Trojan, EConfigType.Shadowsocks];
|
[EConfigType.VMess, EConfigType.VLESS, EConfigType.Trojan, EConfigType.Shadowsocks];
|
||||||
|
|
||||||
private static readonly HashSet<string> SingboxShadowsocksAllowedTransports =
|
private static readonly HashSet<string> SingboxShadowsocksAllowedTransports =
|
||||||
[nameof(ETransport.tcp), nameof(ETransport.ws), nameof(ETransport.quic)];
|
[nameof(ETransport.tcp), nameof(ETransport.ws), nameof(ETransport.quic)];
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using Avalonia;
|
|
||||||
using Avalonia.Media;
|
|
||||||
|
|
||||||
namespace v2rayN.Desktop.Common;
|
namespace v2rayN.Desktop.Common;
|
||||||
|
|
||||||
public static class AppBuilderExtension
|
public static class AppBuilderExtension
|
||||||
|
|||||||
Reference in New Issue
Block a user