diff --git a/main/distro/all/all.go b/main/distro/all/all.go index f33032edd..9219a4dbf 100644 --- a/main/distro/all/all.go +++ b/main/distro/all/all.go @@ -70,9 +70,13 @@ import ( _ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/memconservative" _ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/standard" - // JSON, TOML, YAML config support. + // JSON, TOML, YAML config support. (jsonv4) This disable selective compile _ "github.com/v2fly/v2ray-core/v4/main/formats" // commands _ "github.com/v2fly/v2ray-core/v4/main/commands/all" + + // Commands that rely on jsonv4 format This disable selective compile + _ "github.com/v2fly/v2ray-core/v4/main/commands/all/api/jsonv4" + _ "github.com/v2fly/v2ray-core/v4/main/commands/all/jsonv4" )