Fix custom config import

https://github.com/2dust/v2rayN/issues/9902
This commit is contained in:
2dust
2026-08-06 09:29:33 +08:00
parent 1034ce6e02
commit 9638b4c368
4 changed files with 31 additions and 11 deletions
@@ -76,6 +76,7 @@ public class SingboxFmt : BaseFmt
var fileName = WriteAllText(JsonUtils.Serialize(jsonObject));
var profileItem = new ProfileItem
{
ConfigType = EConfigType.Custom,
CoreType = ECoreType.sing_box,
Address = fileName,
Remarks = subRemarks ?? "singbox_custom",