mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
Update README.md
This commit is contained in:
parent
4e24e40d7e
commit
245f48f4f2
@ -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
|
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)
|
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
|
||||||
|
|
||||||
|
@ -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
|
go get -u github.com/go-vgo/robotgo
|
||||||
```
|
```
|
||||||
|
注意 go1.10.x C 文件编译缓存问题
|
||||||
|
|
||||||
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
|
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
|
||||||
|
|
||||||
|
@ -1548,6 +1548,6 @@ func ActiveName(name string) error {
|
|||||||
|
|
||||||
// Kill kill the process by PID
|
// Kill kill the process by PID
|
||||||
func Kill(pid int32) error {
|
func Kill(pid int32) error {
|
||||||
ps := os.Process{Pid: int(pid)}
|
ps := os.Process{Pid: int(pid)}
|
||||||
return ps.Kill()
|
return ps.Kill()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user