From baf90cfbdd1bbe4048b40cbb04b69e73133894d0 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri, 10 Jan 2025 10:00:00 +0800 Subject: [PATCH] Sing-box cache file specified path https://github.com/2dust/v2rayN/issues/6460 --- .../ServiceLib/Services/CoreConfig/CoreConfigSingboxService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigSingboxService.cs b/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigSingboxService.cs index e4268916..26708d79 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigSingboxService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/CoreConfigSingboxService.cs @@ -1259,7 +1259,8 @@ namespace ServiceLib.Services.CoreConfig singboxConfig.experimental ??= new Experimental4Sbox(); singboxConfig.experimental.cache_file = new CacheFile4Sbox() { - enabled = true + enabled = true, + path = Utils.GetConfigPath("cache.db") }; }