CreeperHost / modpacklauncher

Other
22 stars 3 forks source link

Server download tool should use mods/files from local cache #4

Open LatvianModder opened 4 years ago

LatvianModder commented 4 years ago

If it doesn't already, it's not really clear, since it see Downloading for every file

ThePaul-T commented 4 years ago

Server downloader does not have a local cache at this time, not even 100% sure it's a good idea yet, at least not with the same implementation as the client one.

LatvianModder commented 4 years ago

Oh right, I meant the same cache as client, but I guess that would mean the tool would have to know where app is installed. Hmm.

ThePaul-T commented 4 years ago

Yeah, that'd be so many levels of buggy, that is almost certainly not going to happen (It might, but the complexity with cross platform etc, it'll be a much later feature)

MarcoCaspers commented 4 years ago

Server downloader tool for Linux should be a shellscript rather than the extremely buggy binary blob that it is now.

ThePaul-T commented 4 years ago

@Grolimo "Extremely buggy" yet one single issue open about it (That doesn't have a lot of useful information like which files), thanks for your constructive input.

The API is open to anyone, feel free to write a shell script that does threaded downloading over HTTP/2 (HTTP/3 as soon as possible) with checksum checking etc, but I am not doing it.

A none threaded one which works on only Unix based OS's will be as easy as using jq to loop through the files array and curl the files, doesn't need an official solution for that.

Oh, remember to make sure it works on windows too, you won't have curl etc there.

Do not go to other issues and randomly hijack them with useless input.