From c632f78ce26f52d0be93e0c9f963d834e94b0bfe Mon Sep 17 00:00:00 2001 From: Derek Robati Date: Fri, 31 Jul 2015 16:32:54 -0400 Subject: [PATCH] Something like this :cheers: --- README.md | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 2e132412..dc87dae1 100644 --- a/README.md +++ b/README.md @@ -13,23 +13,9 @@ This is a work in progress so the exported functions could change at any time be ## Installing -### Linux - -``` -sudo apt-get install libxtst-dev libpng-dev -``` - -### Mac - -No dependencies. - -### Windows - -* Python (v2.7.3 recommended, v3.x.x is not supported). -* Visual Studio 2013 (Express works fine!). - -### NPM +RobotJS uses [node-gyp](https://github.com/TooTallNate/node-gyp) for building. If you have trouble with dependencies, look there or in our [building](https://github.com/octalmage/robotjs/wiki/Building) wiki. +Then you should be successful at installing. ``` npm install robotjs ``` @@ -77,9 +63,9 @@ console.log("#" + hex + " at x:" + mouse.x + " y:" + mouse.y); Read the [Wiki](https://github.com/octalmage/robotjs/wiki) for more information! -## Building +## Building with node-gyp -RobotJS uses [node-gyp](https://github.com/TooTallNate/node-gyp) for building. +Node-gyp is a dependency for robotjs, and can be configured and built prior to install. Install node-gyp using npm: