ServerSync

ServerSync

48.5k Downloads

Path not platform agnostic

Nekotato1412 opened this issue · 2 comments

commented

Serversync Version: 4.2.0

Minecraft Version: 1.17.1

Issue: Path is not platform agnostic

There is an issue with how serversync actually handles the path, it doesn't seem to be platform agnostic. Due to the differences in Linux and Windows paths it interprets the path as a filename and as a result doesn't actually put the files in the correct directory.

Linux uses Forward slashes(/) and Windows uses Backslashes(\)

It is suggested to use some sort of path helper that fixes these issues.

commented

I noticed this is fixed in master. Apologies.

commented

Windows is in general quite happy to use forward or backward slashes 🤷‍♂️.

I'm reopening this to track doing some testing and releasing the fix for this.