desktop / registry-js

A simple and opinionated library for working with the Windows registry
MIT License
154 stars 47 forks source link

Add N-API support #217

Closed sergiou87 closed 3 years ago

sergiou87 commented 3 years ago

Update registry.js to support N-API. I basically ran the conversion tool and made changes on top of that.

The bulk of the work was about changing part of the syntax, and removing references to V8 in favor of the new N-API replacements.

I also found we were using the wrong type for DWORD values, which could cause issues with high values.