SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
251 stars 73 forks source link

Compile for nw.js #118

Closed Berdmanfolk closed 4 years ago

Berdmanfolk commented 4 years ago

Hi, It is possible to compile for nw.js(node-webkit) environment?

bsrdjan commented 4 years ago

According to node-webkit documentation it should work. I can it give it a try earliest in 6-8 weeks, because on sick leave atm. You could eventually try yourself n the meantime?

Berdmanfolk commented 4 years ago

Hello @bsrdjan! I understand correctly, need to add the following lines to the package.json file: for example:

"cmake-js": {
"runtime": "nw",
"runtimeVersion": "0.33.4",
"arch": "x64"
}

or need to change parameters for prebuildcompilation ?: "prebuild": "prebuild --backend cmake-js -r nw --force --strip --verbose --tag-prefix",