dart_discord_rpc
dart_discord_rpc copied to clipboard
MacOS Support
Is macOS support planned?
It is, but I can't add it. I don't have a mac.
@alexmercerind I'm not sure if the project is active or not, but I guess we can now add MacOS (even Android) discord-rpc support using Dart's Socket with InternetAddressType.unix.
I've already created an repo with working example: https://github.com/KRTirtho/discord_rich_presence
Also, I guess we can drop the usage of shared library and dlls completely if we use win32's CreateNamedPipe for Windows and Unix Domain Socket will also work for Linux
You can follow the https://github.com/sardonicism-04/discord-rich-presence (Rust discord-rpc implementation) as I found the solution there. (Credit to @sardonicism-04)
I wanted tried to do the Windows implemenation but my C/C++ skills quickly showed up as I'm an expert in it /s 🙃
Btw, this way we also add the support for RPC Buttons 🔥 🔥 too (again thanks to @sardonicism-04)