diff --git a/README.md b/README.md index 0f99a3f..e0b0004 100644 --- a/README.md +++ b/README.md @@ -21,24 +21,13 @@ This is a work in progress. ##[API Document](https://github.com/go-vgo/robotgo/blob/master/docs/doc.md)    [中文文档](https://github.com/go-vgo/robotgo/blob/master/docs/doc_zh.md) Please click API Document;This is a work in progress. +- [Requirements](#requirements) - [Installation](#installation) - [Update](#update) -- [Requirements](#requirements) - [Examples](#examples) - [Future](#future) - [Contributors](#contributors) - -##Installation: -``` -go get github.com/go-vgo/robotgo -``` - It's that easy! - -##Update: -``` -go get -u github.com/go-vgo/robotgo -``` ###Requirements: ####ALL: @@ -89,6 +78,18 @@ sudo apt-get install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommo sudo apt-get install libxkbcommon-dev ``` + +##Installation: +``` +go get github.com/go-vgo/robotgo +``` + It's that easy! + +##Update: +``` +go get -u github.com/go-vgo/robotgo +``` + ##[Examples:](https://github.com/go-vgo/robotgo/blob/master/example/main.go) ###Mouse diff --git a/README_zh.md b/README_zh.md index 5cae1ad..5731df0 100644 --- a/README_zh.md +++ b/README_zh.md @@ -17,24 +17,13 @@ RobotGo 支持 Mac, Windows, and Linux(X11). ##[中文文档](https://github.com/go-vgo/robotgo/blob/master/docs/doc_zh.md)   [API Document](https://github.com/go-vgo/robotgo/blob/master/docs/doc.md) 英文文档请点击API Document. +- [Requirements](#requirements) - [Installation](#installation) - [Update](#update) -- [Requirements](#requirements) - [Examples](#examples) - [Future](#future) - [Contributors](#contributors) - -##Installation: -``` -go get github.com/go-vgo/robotgo -``` - It's that easy! - -##Update: -``` -go get -u github.com/go-vgo/robotgo -``` ###Requirements: (环境要求) @@ -86,6 +75,17 @@ sudo apt-get install libxkbcommon-dev ``` +##Installation: +``` +go get github.com/go-vgo/robotgo +``` + It's that easy! + +##Update: +``` +go get -u github.com/go-vgo/robotgo +``` + ##[Examples:](https://github.com/go-vgo/robotgo/blob/master/example/main.go) ###鼠标