From 12f16de2a984d45776a38cebe43b75332dca3c05 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Tue, 19 Aug 2025 14:29:52 +0800 Subject: [PATCH] Passes srsName as third format argument --- 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); }