MCUpdater / MCU-API

API-level code for MCUpdater
Apache License 2.0
1 stars 6 forks source link

Delete old files when ModPath changes #3

Closed Baughn closed 9 years ago

Baughn commented 10 years ago

For a Module entry such as <Module id="TiCTooltips" name="TiCTooltips"> <URL>http://example.com/mods/TiCTooltips-mc1.6.4-1.1.5.jar</URL> <Required>True</Required> <MD5>3b3cc2530106091aa1eb245e5059c536</MD5> <ModType>Regular</ModType> <ModPath>mods/TiCTooltips-mc1.6.4-1.1.5.jar</ModPath> </Module>

When the ModPath changes, MCUpdater will create a new .jar without deleting the old one. It should delete the old one.

smbarbour commented 9 years ago

Implemented in b8cea7ad0669ed61e7eeeeaaa4142890d59053f9