Closed MisterPhilip closed 2 years ago
@MisterPhilip hi, by any chance, did you find a workaround ?
@imakiro - I did not; I ended up installing Factorio directly from the tarball (https://www.factorio.com/get-download/stable/headless/linux64)
Ok, thanks to @greenblood , I fixed it in my branch : https://github.com/imakiro/factorio-init/tree/fix-install relevant code part : https://github.com/imakiro/factorio-init/commit/f1448f470167a4697a0c57a6dc5b6f39f1f34db1
Hello, i will make a PR using the api to fetch the latest release: https://wiki.factorio.com/Download_API https://factorio.com/api/latest-releases
(something like this)
It appears that one of the headers that was used to grab the file name no longer exists from the download URLs.
When running install (or update, if manually installed), this is the output:
Running curl against the latest URL these are the headers returned:
It looks like the code is expecting
Content-Disposition
, which doesn't exist anymore. https://github.com/Bisa/factorio-init/blob/35d82197d67e73491475ddfc6bbb005a19633d5c/factorio#L484I've tried from a few different computers, including a friend in another state and they also were not seeing the header on the request.