docs: process.noAsar

This commit is contained in:
Cheng Zhao 2015-12-01 13:43:52 +08:00
parent 900dc78a47
commit 165b464a15
2 changed files with 16 additions and 1 deletions

View file

@ -103,6 +103,14 @@ var originalFs = require('original-fs');
originalFs.readFileSync('/path/to/example.asar');
```
You can also set `process.noAsar` to `true` to disable the support for `asar` in
the `fs` module:
```javascript
process.noAsar = true;
fs.readFileSync('/path/to/example.asar');
```
## Limitations on Node API
Even though we tried hard to make `asar` archives in the Node API work like