Skip to content

Commit ce99580

Browse files
committed
update readme to have notes about node-webkit
1 parent 22064a9 commit ce99580

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,12 @@ https://github.com/nodegit/nodegit/compare/refs/tags/0.1.4...0.2.0
186186
This update is wholly and entirely a breaking one, and older versions won't be
187187
maintained. For the purpose of migration, perhaps the biggest point to make
188188
is that async methods can now use promises, rather than just taking callbacks. Additionally, lots of method and property names have changed.
189+
190+
## Node-Webkit ##
191+
192+
A common issue is with nodegit not functioning properly inside of
193+
[node-webkit](http://github.com/rogerwang/node-webkit) applications. Because nodegit
194+
is a native module, it has to be rebuilt for node-webkit using
195+
[nw-gyp](http://github.com/rogerwang/nw-gyp). By default, nodegit will look in the root package's package.json for an `engines` property, and within look for a `node-webkit` property that holds a specific version of node-webkit. The value of this property is what will get passed as the `--target` argument to `nw-gyp configure`.
196+
197+
Currently, support for node-webkit is limited, although we intend to support it better in the future.

0 commit comments

Comments
 (0)