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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mime type #20

Merged
merged 2 commits into from
May 8, 2022
Merged

Fix mime type #20

merged 2 commits into from
May 8, 2022

Conversation

adynemo
Copy link
Contributor

@adynemo adynemo commented May 2, 2022

Hello ! 馃檪

This patch fixes #13
After several searches, the xdg-settings bug is still not resolved: https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/180
And finally, I don't know if update electron version could solve anything.
As explain here lbryio/lbry-desktop#5617 the bug appears when we call setAsDefaultProtocolClient on Linux. There is the concerned lines on xdg-utils issue.
Signal has change the production name and remove the dash from the desktop file signal-desktop.desktop to signal.desktop but for some app, like deezer-linux, it seems to not work.
So, I've chosen the LBRY way that avoid the call to this function if the platform is linux. As deezer-linux is only for linux, I don't put the condition, but we can.

I tested with the deb build and all works (start app, login via browser, listen music, etc).

@aunetx
Copy link
Owner

aunetx commented May 8, 2022

Hello @adynemo, and thank you very very much for the time you spent understanding and improving this!

I tried this and it actually seems to work, that's great thank you! I merge this right now and this will be included in next update :)

@aunetx aunetx merged commit 108243b into aunetx:master May 8, 2022
@adynemo adynemo deleted the fix-mime-type branch May 9, 2022 13:11
aunetx added a commit that referenced this pull request Sep 18, 2023
aunetx added a commit that referenced this pull request Sep 18, 2023
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.

Deezer app is modifying MIME html to be associated with it
2 participants