-
Notifications
You must be signed in to change notification settings - Fork 28
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
Put a launcher script in bin #20
Comments
I poked at this for a while, but I don't understand enough about node's install system. It's clear how to list a bin script in the package.json, but it's not clear how to write the script so that it launches the thing. This works from the command line (assuming you've gotten
|
I'm pretty sure there isn't any requirement that it be a js file... you should be able to put a shell script in bin. You should move electron to be a dependency rather than just a dev dependency. Probably most people will only use the packaged apps, but with this set up, you would be able to install it through |
"You should move electron to be a dependency rather than just a dev dependency." Aha, thanks. I think this was the bit I was missing in my experiments. |
Might as well be Node about this, even though most people will only use the packaged apps.
The text was updated successfully, but these errors were encountered: