From d9c72248618d025d06fa5383872aeb14679f2ab4 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 18 Jan 2020 22:21:37 +0800 Subject: [PATCH] readme updates --- README.MD | 4 ++++ README_ZH.MD | 6 ++++++ os/gproc/gproc.go | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/README.MD b/README.MD index 419219c82..03843175e 100644 --- a/README.MD +++ b/README.MD @@ -46,6 +46,10 @@ golang version >= 1.10 `GF` is licensed under the [MIT License](LICENSE), 100% free and open-source, forever. +# Contributors +This project exists thanks to all the people who contribute. [[Contributors](https://github.com/gogf/gf/graphs/contributors)]. + + # Donators We currently accept donation by Alipay/WechatPay, please note your github/gitee account in your payment bill. If you like `GF`, why not [buy developer a cup of coffee](DONATOR.MD)? diff --git a/README_ZH.MD b/README_ZH.MD index 2d6c08f95..aa4de0fca 100644 --- a/README_ZH.MD +++ b/README_ZH.MD @@ -55,6 +55,12 @@ golang版本 >= 1.11 `GF` 使用非常友好的 [MIT](LICENSE) 开源协议进行发布,永久`100%`开源免费。 +# 贡献 + +感谢所有参与`GoFrame`开发的贡献者。 [[Contributors](https://github.com/gogf/gf/graphs/contributors)]. + + + # 捐赠 如果您喜欢`GF`,要不[给开发者来杯咖啡吧](DONATOR.MD)! diff --git a/os/gproc/gproc.go b/os/gproc/gproc.go index 8380e508e..bfbee3685 100644 --- a/os/gproc/gproc.go +++ b/os/gproc/gproc.go @@ -189,6 +189,11 @@ func SearchBinary(file string) string { if gfile.Exists(file) { return file } + return SearchBinaryPath(file) +} + +// SearchBinaryPath searches the binary in PATH environment. +func SearchBinaryPath(file string) string { array := ([]string)(nil) switch runtime.GOOS { case "windows":