Skip to content
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

wrapFirefox: fix default-browser update #23516

Merged
merged 1 commit into from
Mar 5, 2017

Conversation

layus
Copy link
Member

@layus layus commented Mar 5, 2017

Set MOZ_APP_LAUNCHER for firefox as per [1] (see [2] for detailed discussion).
Firefox will recognise itself across verions, skipping the 'not-the-default-browser' prompt.
Firefox will also write sane paths to the generated desktop file, should someone ever set it as default through the 'not-the-default-browser' prompt.
Also removed the unnecessary libtrick cruft.

This fixes #4370 for firefox.

  • tested with nox-review on NixOS

/cc @vcunat

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=611953
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=593948

Set MOZ_APP_LAUNCHER for firefox as per [1] (see [2] for detailed discussion).
Firefox will recognise itself across verions, skipping the 'not-the-default-browser' prompt.
Firefox will also write sane paths to the generated desktop file, should someone ever set it as default through the 'not-the-default-browser' prompt.
Also removed the unnecessary libtrick cruft.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=611953
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=593948
@mention-bot
Copy link

@layus, thanks for your PR! By analyzing the history of the files in this pull request, we identified @vcunat, @7c6f434c and @edolstra to be potential reviewers.

@7c6f434c
Copy link
Member

7c6f434c commented Mar 5, 2017

You did test execution of the wrapper too, right?

@layus
Copy link
Member Author

layus commented Mar 5, 2017

I tested all the wrappers rebuilt by nox-review.

@RonnyPfannschmidt
Copy link
Contributor

shouldn't this go o 17.03 as well? @globin

@globin
Copy link
Member

globin commented Mar 25, 2017

cherry-picked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firefox and Chromium "set as default" not including wrapper
5 participants