Open krateng opened 1 year ago
I did some digging through the code and I'm not sure I fully understand it, but it seems the source -> destination file dict is first built in reverse (as a destination -> source dict)
This leads to paths with duplicate destinations being ignored, which breaks if the fomod uses directory destinations (copying whole directories instead of individual files).
Removing that whole logic fixes the issue, but obviously breaks the priority calculation.
This happens on multiple mods, but just as an example, I have the fomod Bijin Wives. The
ModuleConfig.xml
file is properly parsed to install multiple paths for one option:However, when I actually select that option with the installer, it only remembers the last path:
From multiple test cases, this seems to be always the last file added - and not just per page or group, but over the entire installer.