-
Notifications
You must be signed in to change notification settings - Fork 343
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
Change --firefox-binary to --firefox #116
Comments
we should fix #169 first to avoid confusion when users upgrade their web-ext for this option change |
For this issue, I need to modify this line & add an |
Yes, I think that's the way to go. |
You should be able to use any of these extensions to test it: https://github.com/mdn/webextensions-examples/ You will need to cd into the source directory of one of the examples before executing |
I am a little confused -- the variable |
Let's say you typed:
This would invoke:
The variable is passed around to a few things that utilize the Firefox executable path. |
Okay, that makes sense. But I don't really understand the flow even now. |
Yes, that's correct. It's not very well documented in yargs but if you log the argv variable you could see the complete object after yargs is done doing the magic translation.
Ah, good point. I see the problem now. There is already an option defined as firefox=defaultFirefox so the new yargs generated |
Firefox can't be found for some reason. Changing the variable names broke something, I guess. Despite giving it the full path to the .exe, it won't work. Hence, the builds are failing too. How can I go about finding what exactly broke? |
The run command docs will need updating but we should wait until a new version of |
I updated the docs |
web-ext run --firefox=/path/to/firefox-bin
seems more concise. We should also give it a short alias like-f
.The text was updated successfully, but these errors were encountered: