Minenash / Embedded-Assets

Automatically loads resourcepacks from datapacks on load
https://modrinth.com/mod/embedded_assets
5 stars 4 forks source link

Fix generated pack loading on windows #4

Closed aws404 closed 1 year ago

aws404 commented 1 year ago

The minecraft client on windows is particular about the slash used in zip files, and will refuse to load the pack (and get stuck in a never ending loop) if it uses the incorrect slash. This can be fixed by replaceing all the incorrect slashes with the correct one when constructing the zip file.

This can also be seen in a similar project here: https://github.com/Patbox/polymer/pull/9

Minenash commented 1 year ago

Windows... why