SpaceWarpDev / SpaceWarp

A C# modding API for KSP2
MIT License
91 stars 38 forks source link

Cache invalidation mod update checking #228

Closed cheese3660 closed 1 year ago

cheese3660 commented 1 year ago

This just checks if the mod list has changed in any way since last run and invalidates any caches if it does, and provides a getter in the plugin list api for mods to check the same

Essentially it combines all the swinfo files and the disabled mod list and hashes them and checks that each time