From f8995b78f6c5a7841e855795b2c096395addc0a1 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Tue, 19 Aug 2025 17:00:27 +0800 Subject: [PATCH] Passes srsName as third format argument (#7805) --- v2rayN/ServiceLib/Services/UpdateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Services/UpdateService.cs b/v2rayN/ServiceLib/Services/UpdateService.cs index e87522e2..95d51d4b 100644 --- a/v2rayN/ServiceLib/Services/UpdateService.cs +++ b/v2rayN/ServiceLib/Services/UpdateService.cs @@ -434,7 +434,7 @@ public class UpdateService var fileName = $"{type}-{srsName}.srs"; var targetPath = Path.Combine(Utils.GetBinPath("srss"), fileName); - var url = string.Format(srsUrl, type, $"{type}-{srsName}"); + var url = string.Format(srsUrl, type, $"{type}-{srsName}", srsName); await DownloadGeoFile(url, fileName, targetPath, updateFunc); }