mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-02-26 02:30:44 +00:00
update main.go
This commit is contained in:
parent
a3a0b8b165
commit
f9db89e0a7
@ -90,10 +90,10 @@ func whichProtoc(suffix, targetedVersion string) (string, error) {
|
|||||||
path, err := exec.LookPath(protoc)
|
path, err := exec.LookPath(protoc)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", fmt.Errorf(`
|
return "", fmt.Errorf(`
|
||||||
Command "%s" not found.
|
Command "%s" not found.
|
||||||
Make sure that %s is in your system path or current path.
|
Make sure that %s is in your system path or current path.
|
||||||
Download %s v%s or later from https://github.com/protocolbuffers/protobuf/releases
|
Download %s v%s or later from https://github.com/protocolbuffers/protobuf/releases
|
||||||
`, protoc, protoc, protoc, targetedVersion)
|
`, protoc, protoc, protoc, targetedVersion)
|
||||||
}
|
}
|
||||||
return path, nil
|
return path, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user