kessler / node-regedit

Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host
MIT License
279 stars 45 forks source link

Use os.tmpdir to store vbs script files #51

Closed JHBaik closed 6 years ago

JHBaik commented 6 years ago

I was using this npm package with Electron. And due to electron's asar packed run time, legacy node-regedit fails due to cscript.exe cannot approach to VBS script files packed in app.asar in electron app.

So I added code to copy vbs scripts to OS's temporary dir.

And I also modified .gitignore file to ignore IDEA based IDE support

muminasaad commented 6 years ago

@bjh970913 I don't think that solution will not work,. the files inside app.asar file and you will not be able to copy them outside after building, Are you sure it's working?

kessler commented 6 years ago

closing this since we merged pr by @muminasaad / issue #47