Update README to show new feature

This commit is contained in:
Jared Allard
2015-03-20 09:26:30 -07:00
parent ce7a36958f
commit 38a920be24
+4 -2
View File
@@ -19,7 +19,7 @@ Nexe is a command-line utility that compiles your Node.js application into a sin
## Requirements
- Linux / Mac / BSD / Windows
- Windows: Python 2.6 or 2.7 (in PATH), Visual Studio 2010 or 2012
- Windows: Python 2.6 or 2.7 (use --python if not in PATH), Visual Studio 2010 or 2012
## Caveats
@@ -121,6 +121,7 @@ Options:
-f, --flags Don't parse node and v8 flags, pass through app flags [default: false]
-v, --version Display version number
-p, --python Set path of python to use. [default: "python"]
-F, --framewrk Set the framework to use. [default: "nodejs"]
```
@@ -138,7 +139,8 @@ nexe.compile({
nodeTempDir: __dirname,
python: 'path/to/python',
resourceFiles: [ 'path/to/a/file' ],
flags: true
flags: true,
framework: "nodejs"
}, function(err) {
console.log(err);
});