-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing command-line arguments to electron #3603
Labels
Comments
in root packge.json, you can do:
Then you can get args from main process |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I'd like to pass some command-line arguments from intellij to may electron app.
For example if it was a simple electron app i'd run it with
./node_modules/.bin/electron main.js --arg1=value --arg2=value
But I simply add arguments to node or webpack directly I receive all kind of 'arguments not recognized` errors by webpack.
How do I do this with the boilerplate?
The text was updated successfully, but these errors were encountered: