discord-rpc
discord-rpc copied to clipboard
Revert previous MR, change handling specifically for Linux.
The new loading using createTempFile introduced by https://github.com/Vatuu/discord-rpc/pull/49 would sometimes cause the program to completely fail to load on some Windows machines. So I've been sticking to the version before that for the longest time on my project. Here I decided to simply revert that merge request and use createTempFile specifically for Linux, where it did not create any issues. Tested on Windows and Linux. Not tested on MacOS.
in the meantime if any passers-by want to use the fixed version of this library, I've attached a copy here. discord-rpc.zip