TekkaGB / DivaModManager

GNU General Public License v3.0
130 stars 11 forks source link

DMM removes preview.<png|jpg>, or the targets of symlinks named such, on mod updates. #27

Closed BrainwreckedTech closed 1 year ago

BrainwreckedTech commented 1 year ago

I have custom preview.<png|jpg> files in each mod's folder for use by DMM. When updating, DMM seems to remove these files. Thinking DMM must extract mod updates to a temporary location, delete the existing version, and move the update into place, I made symlinks that point to the images so the symlinks would get deleted instead. However, with recent mod updates, DMM ends up leaving the symlinks alone and deletes the target instead.

I'm using DMM on Linux via GE-Proton 7-35 and .NET Runtime 6.0.13.

DMM shouldn't be doing any undisclosed magic with files users put there themselves.

BrainwreckedTech commented 1 year ago

I've seen commit 99c7581 and it looks like it addresses the issue. Will report next time there's a mod update for which I have a custom preview. (Unless someone beats me to it.)