viper icon indicating copy to clipboard operation
viper copied to clipboard

fix: Possible leftover files when updating mods and NS

Open 0neGal opened this issue 4 years ago • 1 comments

When updating NS it simply unpacks the zip in the game path, however that means if a file was removed in the core mods, when you then update the old files will still be there, instead we should therefore remove core mods when updating.

We should also do the same when installing mods, aka if a mod is detected to already be installed, remove the original then install, as to avoid those leftover files...

0neGal avatar Jan 12 '22 16:01 0neGal

Regarding mods, we gotta be careful to remove leftover files only and not configuration files, as stated in #42.

Alystrasz avatar Feb 19 '22 22:02 Alystrasz

#191 incidentally fixes this, as it now deletes the older package when updating.

0neGal avatar Jul 31 '23 13:07 0neGal