Skip to content

Commit dd77eb7

Browse files
committed
Remove .NET self-contained zip check in UpdateService
1 parent d26a255 commit dd77eb7

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

v2rayN/ServiceLib/Services/UpdateService.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,6 @@ private async Task<UpdateResult> ParseDownloadUrl(ECoreType type, UpdateResult r
291291
return url;
292292
}
293293

294-
//Check for standalone windows .Net version
295-
if (File.Exists(Path.Combine(Utils.GetBaseDirectory(), "wpfgfx_cor3.dll"))
296-
&& File.Exists(Path.Combine(Utils.GetBaseDirectory(), "D3DCompiler_47_cor3.dll")))
297-
{
298-
return url?.Replace(".zip", "-SelfContained.zip");
299-
}
300-
301294
//Check for avalonia desktop windows version
302295
if (File.Exists(Path.Combine(Utils.GetBaseDirectory(), "libHarfBuzzSharp.dll")))
303296
{

0 commit comments

Comments
 (0)