Browse Source

update distro file
(rebased from 9b30bcf6dfe2458a64493e1dbcbbbbc24c811ca5)

Shelikhoo 4 years ago
parent
commit
cd86ba9f4a
1 changed files with 5 additions and 1 deletions
  1. 5 1
      main/distro/all/all.go

+ 5 - 1
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"
 )