1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 15:36:41 -05:00

remove unnecessary config

This commit is contained in:
Darien Raymond 2017-05-23 00:48:27 +02:00
parent 9c43471891
commit d3e262d474
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
2 changed files with 6 additions and 7 deletions

View File

@ -13,9 +13,14 @@ func buildV2Ray(targetFile string, version string, goOS GoOS, goArch GoArch, ext
if version != "custom" {
year, month, day := time.Now().UTC().Date()
today := fmt.Sprintf("%04d%02d%02d", year, int(month), day)
ldFlags = ldFlags + " -X v2ray.com/core.version=" + version + " -X v2ray.com/core.build=" + today
bUser := os.Getenv("V_USER")
ldFlags = ldFlags + " -X v2ray.com/core.version=" + version + " -X v2ray.com/core.build=" + today + " -X v2ray.core/core/tools/conf.bUser=" + bUser
if len(bUser) > 0 {
ldFlags += " -X v2ray.com/ext/tools/conf.bUser=" + bUser
}
}
cmd := exec.Command(
"go", "build",
"-tags", "json",

View File

@ -55,11 +55,5 @@
}
]
}
},
"transport": {
"kcpSettings": {
"uplinkCapacity": 2,
"downlinkCapacity": 10
}
}
}