From dd77eb79c619b4e52b6cdcf9fe144ccb7b9493ff Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 20 Dec 2025 14:47:40 +0800 Subject: [PATCH] Remove .NET self-contained zip check in UpdateService --- v2rayN/ServiceLib/Services/UpdateService.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/v2rayN/ServiceLib/Services/UpdateService.cs b/v2rayN/ServiceLib/Services/UpdateService.cs index 88272bf1..d368108c 100644 --- a/v2rayN/ServiceLib/Services/UpdateService.cs +++ b/v2rayN/ServiceLib/Services/UpdateService.cs @@ -291,13 +291,6 @@ public class UpdateService(Config config, Func updateFunc) return url; } - //Check for standalone windows .Net version - if (File.Exists(Path.Combine(Utils.GetBaseDirectory(), "wpfgfx_cor3.dll")) - && File.Exists(Path.Combine(Utils.GetBaseDirectory(), "D3DCompiler_47_cor3.dll"))) - { - return url?.Replace(".zip", "-SelfContained.zip"); - } - //Check for avalonia desktop windows version if (File.Exists(Path.Combine(Utils.GetBaseDirectory(), "libHarfBuzzSharp.dll"))) {