diff --git a/.gitignore b/.gitignore index 0e804e3..aa1f911 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ bundle.js +node_modules diff --git a/Makefile b/Makefile index abd95c0..fa49a0f 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,2 @@ bundle.js: loader.js client/agario-client.js - browserify $< -o /tmp/agario-webclient-makefile -i buffer-dataview -i ws - sed -i '/var WebSocket/d' $@ + browserify $< -o $@ -i buffer-dataview diff --git a/README.md b/README.md index 23be51e..4f7c6bd 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ A small browser-based graphical client for agar.io, written using [pixijs](http: ##Usage * Clone the repo with the `--recursive` option. If it was cloned without this option, run `git submodule update --init --recursive` -* Install [browserify](http://browserify.org/) globally +* Install [browserify](http://browserify.org/) globally `npm install -g browserify` +* Install [ws](http://einaros.github.io/ws/) locally `npm install w` * Run `make` * Open `app.html` from the browser