Update README.md

This commit is contained in:
vcaesar 2018-08-15 07:22:13 -04:00
parent 4e24e40d7e
commit 245f48f4f2
3 changed files with 3 additions and 1 deletions

View File

@ -100,6 +100,7 @@ png.h: No such file or directory? Please see [issues/47](https://github.com/go-v
```
go get -u github.com/go-vgo/robotgo
```
Note go1.10.x C file compilation cache problem.
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)

View File

@ -98,6 +98,7 @@ png.h: No such file or directory? Please see [issues/47](https://github.com/go-v
```
go get -u github.com/go-vgo/robotgo
```
注意 go1.10.x C 文件编译缓存问题
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)

View File

@ -1548,6 +1548,6 @@ func ActiveName(name string) error {
// Kill kill the process by PID
func Kill(pid int32) error {
ps := os.Process{Pid: int(pid)}
ps := os.Process{Pid: int(pid)}
return ps.Kill()
}