mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-08-14 02:50:32 -04:00
Remove .dev/protoc & Detect and show download link
This commit is contained in:
@@ -5,15 +5,6 @@ package core
|
||||
//go:generate go install -v github.com/gogo/protobuf/protoc-gen-gofast
|
||||
//go:generate go run ./infra/vprotogen/main.go
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
// ProtoFilesUsingProtocGenGoFast is the map of Proto files
|
||||
// that use `protoc-gen-gofast` to generate pb.go files
|
||||
var ProtoFilesUsingProtocGenGoFast = map[string]bool{"proxy/vless/encoding/addons.proto": true}
|
||||
|
||||
// ProtocMap is the map of paths to `protoc` binary excutable files of specific platform
|
||||
var ProtocMap = map[string]string{
|
||||
"windows": filepath.Join(".dev", "protoc", "windows", "protoc.exe"),
|
||||
"darwin": filepath.Join(".dev", "protoc", "macos", "protoc"),
|
||||
"linux": filepath.Join(".dev", "protoc", "linux", "protoc"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user