Skip to content

Commit 007ab51

Browse files
authored
Merge pull request #1001 from 92hackers/make-installer-user-friendly
make installer more user friendly
2 parents 3555857 + 7e2014d commit 007ab51

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: cmd/install.go

+11
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,17 @@ func buildGoplusTools(useGoProxy bool) {
164164
println(buildOutput)
165165

166166
println("Go+ tools installed successfully!")
167+
showHelpPostInstall()
168+
}
169+
170+
func showHelpPostInstall() {
171+
println("Next:")
172+
println("We just installed Go+ into the directory: ", detectGopBinPath())
173+
message := `
174+
To setup a better Go+ development environment,
175+
we recommend you add the above install directory into your PATH environment variable.
176+
`
177+
println(message)
167178
}
168179

169180
func runTestcases() {

0 commit comments

Comments
 (0)