Open leafo opened 8 years ago
The problem is the lack of direct download URLs, so I had to work around that by parsing the JSON from the download request. Even a simple redirect would solve the problem.
We don't want other websites hotlinking directly to our files, so having an official api to get the download link would be preferred
Also, should it return the latest linux file's link, so the AUR package doesn't need to be updated when the game is?
+1 on the API but -1 on the latest file link. It would be much better if the API returned both the file version and a link unique to that version.
+1 on the API but -1 on the latest file link. It would be much better if the API returned both the file version and a link unique to that version.
the problem with that in our current system is that old versions usually disappear completely when developers upload a new version
we need a proper versioning system
Hmm, maybe the last N versions could be made available? It would keep hosting costs down and offer some time for package maintainers to update their builds.
https://aur.archlinux.org/packages/after-school/