mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
fix: vprotogen in windows (#365)
This commit is contained in:
parent
3684dc15de
commit
c4e47e4fbe
4
proto.go
4
proto.go
@ -1,5 +1,7 @@
|
||||
package core
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
//go:generate go install -v google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
//go:generate go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
||||
//go:generate go install -v github.com/gogo/protobuf/protoc-gen-gofast
|
||||
@ -7,4 +9,4 @@ package core
|
||||
|
||||
// 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}
|
||||
var ProtoFilesUsingProtocGenGoFast = map[string]bool{filepath.Join("proxy", "vless", "encoding", "addons.proto"): true}
|
||||
|
Loading…
Reference in New Issue
Block a user