ugackMiner53 / DiscordProximity

GNU General Public License v3.0
4 stars 0 forks source link

Issues with running on Mac OS #4

Open Aces-and-Jacks opened 1 year ago

Aces-and-Jacks commented 1 year ago

1.19.2

https://mclo.gs/4yWmgmd

ugackMiner53 commented 1 year ago

Seems to be a library issue (see issues #54 #48)

I'll look into MacOS support, but given that I only run Linux and Windows, debugging is going to be a bit challenging...

Aces-and-Jacks commented 1 year ago

yeah I looked on there as well. Saw there was a PR to fix it but hasn't been merged there yet. Figured I'd try anyway

eklyst commented 1 year ago

did you ever figure this one out?

Aces-and-Jacks commented 1 year ago

did you ever figure this one out?

It's a library issue that this mod relies on. Issue 48 seems where the most development on apple silicon was

eklyst commented 1 year ago

so is there a solution to this?

ugackMiner53 commented 1 year ago

Not currently, sorry.

letorbi commented 1 year ago

A solution might be to use the java-imp` branch of discord-game-sdk4j, which provides pure Java bindings for the Discord GameSDK. It is currently known to work with Windows, Mac (Intel & ARM) as well as Arch Linux (and probably other distros).

The branch is mostly API compatible to the master branch and even though some things might be missing, the main features are available.

I am using that branch for a little project of mine, and it is working fine so far. You can use JitPack to include the java-impl branch into your project.

ugackMiner53 commented 1 year ago

Unfortunately, the Discord Game SDK has removed support for Voice and Lobbies, so now no library will work.

See the newly made #11 for more details.