Open sp1ritCS opened 4 years ago
I haven't tested it on the Linux, the package is written in the version which not contains Linux support.
According to the document, I think the Discord Game SDK changes some create params. It breaks the package.
Currently, I am working on rewrite the Unlight Server and Unity client, this project is not included in our major milestone, it may not be updated frequently.
Due to the API changes, our Electron project didn't respond to the status on the Discord. I plan to schedule an update in August after our anniversary events finished.
As there is a native linux binary for the discord sdk, i'm stuck getting it to work with this library.
So, I managed to "run" it by replaceing the sdk folder in the project root with the lib folder provied by discord in their sdk. and move the
discord_game_sdk.h
with it.Then I got
when calling
Discord.create()
.I guessed the Libary wasn't included by default in the build, I decided to run it with the LD_PRELOAD env var set to the binary of the sdk.
Its still crashing at
Discord.create()
but I just get a POSIX returncode 1, no std out/err messages anymore.