Closed kiuKisas closed 6 years ago
I'm not sure I want to allow installing this package on any system which is not windows, since it will simply not work.
However, I also understand the problem of wanting to have the same source code.
I'm willing to remove the restriction but in order to do that I need:
Care to submit a PR ?
I find a way, I just set regedit
as an optional dependencies and added some if statement to only load my code on windows.
As you said, I'm not sure is a good idea to allow installing on any system, better this way.
Tahnk's for your answer !
Hi, I'm wrinting an multi-platform app and the windows version use node-regedit. I want to have the same source for both, windows and OS X, but when I try an
npm install --verbose
with node-regedit dependencies, I have this log:Can I fix it and keep the same source code for both platform or should I create two differents projects ? Thank's in advance !