| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -186,3 +186,12 @@ https://github.com/nodegit/nodegit/compare/refs/tags/0.1.4...0.2.0 | |||
| 186 | 186 | This update is wholly and entirely a breaking one, and older versions won't be | |
| 187 | 187 | maintained. For the purpose of migration, perhaps the biggest point to make | |
| 188 | 188 | 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. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments