mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 13:42:24 +00:00
仅启用singbox时更新Srs文件
This commit is contained in:
parent
2a4ba2a751
commit
62949cf389
1 changed files with 3 additions and 1 deletions
|
@ -239,7 +239,9 @@ namespace ServiceLib.Services
|
|||
{
|
||||
await UpdateGeoFiles(config, updateFunc);
|
||||
await UpdateOtherFiles(config, updateFunc);
|
||||
await UpdateSrsFileAll(config, updateFunc);
|
||||
if (config.CoreBasicItem.EnableCacheFile4Sbox && (config.CheckUpdateItem.SelectedCoreTypes?.Contains(ECoreType.sing_box.ToString()) ?? true)){
|
||||
await UpdateSrsFileAll(config, updateFunc);
|
||||
}
|
||||
_updateFunc?.Invoke(true, string.Format(ResUI.MsgDownloadGeoFileSuccessfully, "geo"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue