atlanticaccent / starsector-mod-manager-rust

A mod manager for Starsector, a space fleet-battle and economics simulator. This time written in Rust.
https://atlanticaccent.github.io/starsector-mod-manager-rust/
MIT License
33 stars 1 forks source link

Version 0.5.1 #115

Closed atlanticaccent closed 2 years ago

atlanticaccent commented 2 years ago

Fix cases where auto-update might fail.

Specifically, where the downloaded mod_info has a version value that is different from the remote version value, but are semantically the same.

Example, mod_info.json contains version string 1.1 whilst mod.version specifies version object { major: 1, minor: 1, patch: 0 }. The stringify differently and so compare differently, but in reality are the same.