ServerSync

ServerSync

48.5k Downloads

Bad filepath when the client is on a mac

Draconad opened this issue · 2 comments

commented

Serversync Version: 4.1.0

I have also tested 4.2.0 and the problem still persists on this version too.

Minecraft Version: 1.19.2

Issue: I have Serversync running on my server hosted on windows. My own windows cients can sync up and work seamlessly. However when I run the client on a macbook, instead of putting the mods in the mods folder, it puts them in the root directory of the minecraft instance, and renames them from example.jar to mods\example.jar

commented

Presumably the way mac resolves paths is sufficiently different that serversync can not determine where it is being run from.

Could be several things, to list a few that I can think of:

  • The code that resolves the root directory could be busted on mac
  • The users install of java could be broken, some installs have java running from root rather than from the location of jar files

I don’t have access to apple hardware to test on so progress for this will most likely need to be a pull request from an interested dev.

Likely problem locations:

commented

This may also have been solved by #282

Not sure if I ever released a version with that fix in it.