fabric-loader
fabric-loader copied to clipboard
Provide artifact path, url, hash and size in versions.json
Just like in Forge :
This would make custom launchers maintaining easier :)
I dont think that format is correct above.
we could do it for most libs, however I wouldnt want to do it for intermediary as we have needed to update it during a version cycle (think when mojang re-released 1.16)
The launcher does check the sha1 of the files when launching from the .sha1 file on maven.
I dont think that format is correct above.
we could do it for most libs, however I wouldnt want to do it for intermediary as we have needed to update it during a version cycle (think when mojang re-released 1.16)
The launcher does check the sha1 of the files when launching from the .sha1 file on maven.
I took that format from the 1.16.1-forge-32.0.69.json profile file so I think it's correct. Can we get that data from the Fabric Meta HTTP API maybe instead? This is just to make sure we don't query the maven repo for every lib just for integrity checks and for ease of maintaining (getting a json with all the data and then parsing it, just like parsing the forge profile)
The format isnt correct for us anyway, I think we could add this on the meta side of things as it would have a low change of breaking pre existing launchers
https://meta.fabricmc.net/v2/versions/loader/1.16.1/0.8.9+build.203/profile/json
This is currently the endpoint I am using to get the json profile, adding the extra data in there would be fabulous for launcher maintainers!
I think it would be good and that's what I'm looking for
Is there any way I can get some guidelines on how to contribute to that meta server so I could PR?
The code is here: https://github.com/FabricMC/fabric-meta