From 91c5d2b5a1744917de0baad57a45878dcfdf08d6 Mon Sep 17 00:00:00 2001 From: Joey Date: Fri, 27 Feb 2015 16:23:58 +1300 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 096351d..a53effa 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,10 @@ Planned Features FAQ --- +### How do I include external files? + +You must provide support for this yourself using javascript and nodejs. You can get the path of the current executable with `path.dirname( process.execPath );` and then load files relative to that path. + ### When exporting to Linux, I get an error about libudev.so.0 This is an known issue with nw.js/node-webkit. See [here](https://github.com/nwjs/nw.js/wiki/The-solution-of-lacking-libudev.so.0) for information on how to work around this issue.