-
Notifications
You must be signed in to change notification settings - Fork 21
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
firefoxdeveloperedition
alias resolves surprisingly on macOS
#47
Comments
It looks like the combined logic of As currently written, it appears to look for a bundle with a
Upon further review, I suspect #44 introduced a regression by changing |
The paths used to be correct, but 3 years ago the spaces were added in https://bugzilla.mozilla.org/show_bug.cgi?id=1404796 In mozilla/web-ext#1960 you mentioned that you'd be interested in putting up a patch. I would gladly review it. |
I'll get something submitted for review ASAP. |
Line 117 of
lib/utils.js
:"deved on osx": "/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin",
However, when downloading Firefox Developer Edition from the official download link on mozilla.org, the application downloaded is named 'Firefox Developer Edition.app' (with spaces). As such, if someone downloads Firefox Developer Edition and attempts to use the
firefoxdeveloperedition
alias, out of the box, it will fail with an error message like:(This particular error occurs when passing the alias to the
--firefox
option toweb-ext
, which delegates alias resolution tofx-runner
)This can be naively fixed by adding spaces to the path noted above, but that would break backwards compat for anyone who has adjusted to the current behavior.
Happy to take a run at doing the work to fix this myself, but thought it better to seek basic assent via Issue before submitting a PR.
The text was updated successfully, but these errors were encountered: