vionya / discord-rich-presence

A cross-platform Discord Rich Presence library written in Rust
MIT License
89 stars 16 forks source link

Account for flatpak and snap #28

Closed Paulemeister closed 3 months ago

Paulemeister commented 9 months ago

I added a second Array APP_SUBPATHS which holds relative paths to the sockets for flatpak and snap installs. Seems you are already on it, but didn't see that until after coding it up. I'm not a professional, so better look over it carefully. See #27

FozzieHi commented 9 months ago

Amazing, this is so much cleaner than my initial implementation I did before submitting the issue (which probably furthers my point of me not being decent in Rust). Works for me using Discord on Flatpak, thanks so much!

vionya commented 3 months ago

thanks!