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

Cannot package into electron app. #41

Closed maisnamraju closed 6 years ago

maisnamraju commented 6 years ago

I tried using the package on an electron application and thought it works find on development, it doesn't work in the bundled version. Posting a screenshot

screen shot 2017-08-02 at 4 13 01 pm

kiuKisas commented 6 years ago

which packager do you use ? Work fine with electron-builder

muminasaad commented 6 years ago

Dear the problem is that the path to the wsf file is inside the app.asar file, You have to options, either you disable asar packaging, or you edit the baseCommand function to change to an external path that will contain the vbs folder

kessler commented 6 years ago

fixed at e41c9a88af6c5addb5bf08995f74482774084ae5