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

Compressing node app to an exe #78

Closed han0idx closed 2 years ago

han0idx commented 3 years ago

Im trying to compress my app.js to a standalone exe , i use this simple command: pkg app.js

But i keep having this error: Error: vbscript process reported unknown error code 1

i tried other solution but nothing works :( anyone know how to solve this ?

tymmesyde commented 3 years ago

Same for me Even if I run my compiled script with the electron . command I get this error. It works fine on a development environment.

kessler commented 2 years ago

@han0idx since regedit uses additional non-javascript script files, its possible the packager does not think to include them. @tymmesyde did you read the node about electron?

kessler commented 2 years ago

I'm closing this, please reopen if needed

iSued commented 1 year ago

70 I've answered here if someone needs