Skip to content

Commit

Permalink
remove unnecessary config
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed May 22, 2017
1 parent 9c43471 commit d3e262d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 6 additions & 1 deletion tools/build/go.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 0 additions & 6 deletions tools/release/config/vpoint_vmess_freedom.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,5 @@
}
]
}
},
"transport": {
"kcpSettings": {
"uplinkCapacity": 2,
"downlinkCapacity": 10
}
}
}

0 comments on commit d3e262d

Please sign in to comment.