From 2440dc2440511602c6fca2ea829c1238c3d90dcf Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 11 Jan 2025 19:34:04 +0800 Subject: [PATCH] Remove deprecated DefIEProxyExceptions --- v2rayN/ServiceLib/Handler/ConfigHandler.cs | 7 +------ v2rayN/ServiceLib/Models/ConfigItems.cs | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 14ed35c8..55d9d273 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -162,12 +162,7 @@ namespace ServiceLib.Handler Length = "100-200", Interval = "10-20" }; - - if (Utils.IsNotEmpty(config.ConstItem.DefIEProxyExceptions)) - { - config.SystemProxyItem.SystemProxyExceptions = $"{config.ConstItem.DefIEProxyExceptions};{config.SystemProxyItem.SystemProxyExceptions}"; - config.ConstItem.DefIEProxyExceptions = string.Empty; - } + if (config.SystemProxyItem.SystemProxyExceptions.IsNullOrEmpty()) { config.SystemProxyItem.SystemProxyExceptions = Utils.IsWindows() ? Global.SystemProxyExceptionsWindows : Global.SystemProxyExceptionsLinux; diff --git a/v2rayN/ServiceLib/Models/ConfigItems.cs b/v2rayN/ServiceLib/Models/ConfigItems.cs index ed306fe1..66b0ffc9 100644 --- a/v2rayN/ServiceLib/Models/ConfigItems.cs +++ b/v2rayN/ServiceLib/Models/ConfigItems.cs @@ -118,7 +118,6 @@ [Serializable] public class ConstItem { - public string DefIEProxyExceptions { get; set; } public string SubConvertUrl { get; set; } = string.Empty; public string? GeoSourceUrl { get; set; } public string? SrsSourceUrl { get; set; }