Update README.md

This commit is contained in:
vcaesar 2019-01-08 12:51:09 -04:00
parent c70f1f1ebf
commit 638117ac64
2 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,7 @@ MinGW-w64 (Use recommended) or other GCC
```
#### For everything else:
```
GCC, libpng
@ -71,6 +72,7 @@ xcb, xkb, libxkbcommon
```
##### Ubuntu:
```yml
sudo apt-get install gcc libc6-dev
@ -108,6 +110,7 @@ go get -u github.com/go-vgo/robotgo
Note go1.10.x C file compilation cache problem, [golang #24355](https://github.com/golang/go/issues/24355).
`go mod vendor` problem, [golang #26366](https://github.com/golang/go/issues/26366).
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
#### [Mouse](https://github.com/go-vgo/robotgo/blob/master/examples/mouse/main.go)

View File

@ -57,6 +57,7 @@ MinGW-w64 (推荐使用) or other GCC
```
#### For everything else (Linux 等其他系统):
```
GCC, libpng
@ -107,6 +108,7 @@ go get -u github.com/go-vgo/robotgo
注意 go1.10.x C 文件编译缓存问题, [golang #24355](https://github.com/golang/go/issues/24355).
`go mod vendor` problem, [golang #26366](https://github.com/golang/go/issues/26366).
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
#### [鼠标](https://github.com/go-vgo/robotgo/blob/master/examples/mouse/main.go)
@ -227,6 +229,7 @@ func main() {
}
}
```
#### [窗口句柄](https://github.com/go-vgo/robotgo/blob/master/examples/window/main.go)
```Go