Skip to content
This repository has been archived by the owner on Oct 27, 2018. It is now read-only.

Commit

Permalink
Cambios menores
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikos committed Jun 25, 2012
1 parent 602df03 commit cda3307
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -16,13 +16,13 @@ Features
How to install?
--------------------------------------

Download and install NodeJS (http://nodejs.org/).
Install backdroid with npm by the console (npm install -g backdroid).
Download and install Onx App for Android (https://play.google.com/store/apps/details?id=com.microsoft.onx.app).
Login in https://www.onx.ms/.
Download backdroid proyect.
Copy client.js source code (https://github.com/yeikos/nodejs.backdroid/blob/master/client.js) and paste it into https://www.onx.ms/#!createScriptPage (new rule).
Go to examples project folder and launch each example by the console (node SCRIPTNAME).
- Download and install NodeJS (http://nodejs.org/).
- Install backdroid with npm by the console (npm install -g backdroid).
- Download and install Onx App for Android (https://play.google.com/store/apps/details?id=com.microsoft.onx.app).
- Login in https://www.onx.ms/.
- Download backdroid proyect (https://github.com/yeikos/backdroid/zipball/master).
- Copy client.js source code (https://github.com/yeikos/backdroid/blob/master/client.js) and paste it into https://www.onx.ms/#!createScriptPage (new rule).
- Go to examples project folder and launch each example by the console (node SCRIPTNAME).

Example
--------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/console.js
Expand Up @@ -6,7 +6,7 @@ backdroid.createCommandServer({

port: 8888,
password: 'secret',
encryption_password: 'secret'
encryption_password: 'secret123'

});

Expand Down
3 changes: 1 addition & 2 deletions examples/panel/server.js
Expand Up @@ -8,7 +8,6 @@ backdroid.createPanelServer({
password: 'secret',
port: 80,
ws_port: 8080,
ws_encryption_password: 'secret',

debug: true

Expand All @@ -20,7 +19,7 @@ backdroid.createCommandServer({

port: 8888,
password: 'secret',
encryption_password: 'secret',
encryption_password: 'secret123',

debug: true

Expand Down
2 changes: 1 addition & 1 deletion examples/setCommand.js
Expand Up @@ -30,6 +30,6 @@ backdroid.createCommandServer({

port: 8888,
password: 'secret',
encryption_password: 'secret'
encryption_password: 'secret123'

});
4 changes: 2 additions & 2 deletions server.js
Expand Up @@ -93,9 +93,9 @@ var Public = {

throw 'Error backdroid.createPanelServer: option.ws_port';

if (typeof option.ws_encryption_password != 'string' || !option.ws_encryption_password.length)
/*if (typeof option.ws_encryption_password != 'string' || !option.ws_encryption_password.length)
throw 'Error backdroid.createPanelServer: option.ws_encryption_password';
throw 'Error backdroid.createPanelServer: option.ws_encryption_password';*/

// Servidor HTTP

Expand Down

0 comments on commit cda3307

Please sign in to comment.