~moviuro/factorio-dl

factorio-dl: use the build argument when guessing versions
3e9a8cbd — Moviuro 2 months ago
factorio-dl: also require a token for expansion build
27d645ae — Moviuro 2 months ago
factorio-dl: use the remote filename instead of hardcoding them

This is a breaking change. I noticed that the factorio team did change
the naming scheme in 2024.
5b13554d — Moviuro 2 months ago
factorio-dl: add support for -b expansion
factorio-dl: add support for email OTP

See https://wiki.factorio.com/Web_authentication_API
factorio-dl: loop until we get a password; enhance help text
factorio-dl: remove redundant code (version number grabbing from API)
6f4d05bc — Moviuro 4 years ago
factorio-dl: add -b: support alpha, demo and headless
df638354 — Moviuro 4 years ago
Document -h switch
e46dccd1 — Moviuro 4 years ago 0.2.2
factorio-dl: use a new endpoint to get the latest versions

https://factorio.com/api/latest-releases is a very simple json to parse, that's
cool!
54924fa3 — Moviuro 4 years ago
README.md: "just works"(TM) on macOS and Linux
factorio-dl: now detects the current platform

With this change, we can set defaults to values that make sense. Users are still
advised to use all switches deemed necessary for unattended services to avoid
breakage in the future though (in crontab(5) for example).
c314890d — Moviuro 4 years ago
factorio-dl: use a better jq(1) syntax

We now use jq(1) itself to filter out null values.
4f9ec227 — Moviuro 5 years ago
factorio-dl: remove unnecessary tests
1df77789 — Moviuro 5 years ago
factorio-dl: always check that FACTORIO_TARGET is valid, before trying to download it
beb88731 — Moviuro 5 years ago 0.2.1
factorio-dl: sort -V, not sort -n

Not POSIX, but on FreeBSD, OpenBSD, macOS, GNU and probably WSL.
8cac9e32 — Moviuro 5 years ago
factorio-dl: check for the dependencies
526bada8 — Moviuro 5 years ago
README.md: update according to the recent 0.2.0 changes
6ba52789 — Moviuro 5 years ago 0.2.0
factorio-dl: always use the token + drop support for FACTORIODL_CONFIG

New logic:
  We want a token
  1. Look for token + username in player-data.json
  2. If not available, resort to LOGIN+PASSWORD to get a token from
     https://auth.factorio.com  (see
     https://artentus.github.io/FactorioApiDoc/auth-api/)
  3. If still not available, abort

With this token, we can safely remove any use we had of cookies
With this new logic, jq(1) becomes a mandatory dependency

Rework the help text
37db2ba5 — Moviuro 5 years ago
factorio-dl: improve the help text
Next