Closed whitedxz closed 2 years ago
Sometimes we want to pass some argument on the command line, something like "node nw.js port=5000", how can I pass this argument to the entry file (main.js) after the argument is parsed?
See the README. https://github.com/coreybutler/node-windows#command-line-options
Sometimes we want to pass some argument on the command line, something like "node nw.js port=5000", how can I pass this argument to the entry file (main.js) after the argument is parsed?