Spacehaven-modding-tools / spacehaven-modloader

An *unofficial* mod loader and modding tool for Space Haven by Bugbyte
15 stars 8 forks source link

Clean up temporary folders when done. #3

Closed Tahvohck closed 3 years ago

Tahvohck commented 3 years ago

Currently the modloader leaves a bunch of files in the temporary location when done, resulting in disk bloat. Clean these up when done repacking.

Tahvohck commented 3 years ago

See file loader/load.py, line 34 - this is already done. Leftover temp files are the result of testing the modloader merge process and not letting it finish up. This is also unresolvable as a result; I'd hoped a context manager would solve the issue but no.