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

Add mod auto-update functionality #102

Closed atlanticaccent closed 2 years ago

atlanticaccent commented 2 years ago

Case study: Iron Shell

Mods may now include in their remote version files a new JSON key named "directDownloadURL", whose value should be a well formatted, complete URL pointing directly to a downloadable zip file containing the latest version of the mod. This will allow the manager to download the file and install much as it would if provided with the zip through the file manager.

Need to decide what the interface into this should be when the capability is detected (ie: in the mod description? highlight the mod entry? etc). Should mods that don't support this be highlighted (probably not)?