thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
127 stars 28 forks source link

Add 'installers' field support to package manifest #1013

Closed MythicManiac closed 6 months ago

MythicManiac commented 6 months ago

Add support for a new 'installers' field to the package manifest.json. This is intended to allow packages to declare which install strategies a mod manager should apply to the package when installing.

This commit does not know or care what the installers actually do or how the installer system works, it only focuses on validating that the declared installers are known to exist in the ecosystem. What ultimately populates the "known installers" db table is left as a consideration for later.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (943d25b) 83.30% compared to head (b25120b) 92.91%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1013 +/- ## ========================================== + Coverage 83.30% 92.91% +9.61% ========================================== Files 312 314 +2 Lines 8956 9009 +53 Branches 794 799 +5 ========================================== + Hits 7461 8371 +910 + Misses 1359 530 -829 + Partials 136 108 -28 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.