Random06457 / SwitchPresence

A Nintendo Switch custom sysmodule for Discord Rich Presence.
GNU General Public License v2.0
85 stars 13 forks source link

client support for macOS / linux #9

Open BocuD opened 6 years ago

BocuD commented 6 years ago

Would it be possible for you to add support for macOS / linux for the client? I tried it out and everything works great in Windows, but 90% of the time I'm using my Mac or linux so it would be real nice if there was support.

heyhippari commented 6 years ago

Seconding this, Linux support would be dope.

exentio commented 5 years ago

Bump for Linux release, I'd just install it on my RasPi and forget it. I don't think a GUI is needed. If I have some free time I'm gonna try doing it myself, but don't count on it

exentio commented 5 years ago

I got this! I tried using the C# version of the library, but it's buggy and unstable. Now the program loads the right library depending on the OS. I don't know if it works on macOS, but eventually, it's doable. Obviously, it requires Mono. I forked @SunTheCourier's repo because it has more bugfixes, and I'm still testing stuff, but as for now you can try it yourself, look at the crossplatform branch
Next step, headless version to load on a Rasperry Pi, a VPS, or whatever, probably in Python image

UPDATE: Ok, well, it doesn't work on Windows now, probably because Mono has this cross-platform stuff and the actual .NET framework doesn't. Whoopsie

UPDATE 2: Issues fixed! I merged to master and uploaded a release, the client is now cross-platform. I think it's now possible to close the issue