Open nothub opened 1 year ago
This still appears to be an issue. I'm looking for a simple and reliable way to download the installer from the command line (ubuntu server). Used to be able to just pull the jar from the latest url on maven
You can use https://quiltmc.org/api/v1/download-latest-installer/java-universal, although I'm not sure this interface has guaranteed support as the person working on this API left. Hopefully someone can confirm.
Both curl and wget were giving me corrupted jar files when using that url. Not sure if there is a particular request type, headers, or options required to properly get the jar from that endpoint.
I cannot reproduce on Windows. Are you using the flags required to follow redirects?
I use the
latest
reference in the maven repo to download the installer with themrpack-install
tool. This reference is now gone (see #18). Will this reference be restored, should I parse the maven-metadata.xml or is there another recommended way to fetch the latest version?