discordjs / RPC

A simple RPC client for Discord
MIT License
474 stars 192 forks source link

Fix rich presence if installed through flatpak #69

Closed Earlopain closed 5 years ago

Earlopain commented 5 years ago

If you installed discord with flatpak the ipc file gets put into a seperate location. Before I was not able to connect, with this fix I managed to get it working

iCrawl commented 5 years ago

Yeah.. and if you install it through snap it's in another location again.

Discord actually advises to not install it through any of those means because of that. Monkey-patching all of those doesn't seem the right solution here. It's probably easier running your own fork with the changes you need.

Earlopain commented 5 years ago

Maybe adding a notice as to why you are not be able to connect should be the way to go. I searched for the problem and only found people who had the same issue but no solution. This way you at least know what could be at fault

devsnek commented 5 years ago

Like snap, I'm not favor of supporting this.