This fixes issue #517 where the auto mod updater was downloading the wrong
mod versions after updating to Space Age (Factorio 2.0). The problem was that
the version checking logic was incorrectly rejecting compatible mod versions.
Changes:
- Fixed check_game_version() to properly handle major version differences
- Game versions can now run mods designed for older major versions (backward compatibility)
- Game versions correctly reject mods requiring newer versions
- Fixed variable references in check_dependency_version()
- Added clarifying comments about the version checking behavior
This also addresses issue #468 by ensuring mods requiring newer Factorio
versions than currently installed are properly skipped.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>
* Add rcon client to container
* Explain rcon command
* Remove test container name
* Apply suggestions
Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
* Add example docker-compose file
* Clarify return code
* Switch to pre-update
* Update docker-compose.yml
Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
* Allow build support for build (/* is only possible in buildx)
* Added version information in README.md
---------
Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
* Change variable DLC_SPACE_AGE to allow listing specific Space Age mods to enable
* Adjust DLC_SPACE_AGE note
Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>
---------
Co-authored-by: Florian Kinder <florian.kinder@fankserver.com>