Skip to content

Update checker treats lower game version updates as valid #33

Description

@carlosganhao

Issue:
The mod update tool only checks if there is an update by checking last uploaded version, and accepts it even if said version is for a lower game version.

Example:
Found this out while trying to update the mod A Wearable Light. They pushed a patch for game version 1.20, after uploading their 1.21 version of the mod:
Image

This caused rustique to flag it as out of date, even if the last uploaded mod version was for a lower game version than the currently installed one. This caused the game to crash because of mod-game version mismatch.
Image

Observations:
I think this might be a super rare edge case, but it can clearly still happen. Maybe rustique could still protect the end-user against mod upload mishaps like this, by checking if the "update candidate" is in the same or a greater game version as the currently installed version

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions