Closed Stramondroid closed 3 years ago
I will spend more time on this tomorrow, but from a cursory look at the logs, I think this is expected behavior. Don't get me wrong, the program shouldn't let you do this, or give a big warning, but I think this worked correctly.
See, how the program works is that whenever you "install" a mod, it's really copying the contents to the mod install folder (previously known as the mod cache folder). By default, this is %APPDATA%\MSFS Mod Manager\modCache
. After the contents are copied there, it then creates a symlink to the MSFS2020 Packages\Community
folder. This way, whenever you disable/enable a mod, a symlink only has to be deleted or created and is far faster than copying the folders back and forth.
When you changed the mod install (mod cache) directory to the Community folder, the program helpfully moved this folder and its existing contents for you. When it does this, it deletes the contents of the destination (Community) folder before copying anything over. If you had any mods installed via symlinks there, this likely followed the symlinks and deleted them in the source (mod cache) directory as well, before copying whatever was left over.
The program really shouldn't let you do this, and adding a warning/confirmation before moving the mod install folder seems apt.
Also, as to why stuff isn't in the recycling bin, that's just generally how programmatically deleting files works. I can look into making file deletions not get deleted immediately, but no guarantees.
To fix this mess, I would delete your config.ini
file before re-running the program. That will rebuild it with default settings. Then, I would avoid moving the mod install directory. Unfortunately there is no simple way to recover your deleted files. you could try a data recovery tool like Recuva if it's really important.
Thank you for the detailed explanation. I will re-download the mods, except the custom liveries. I can ask the artist to send them over. Again, appreciate the detailed explanation, and great work on the app in other respects.
Expected Behavior
Add mods folder to application for easy mod install.
Actual Behavior
DELTED every file in the folder.
Steps to Reproduce the Problem
Specifications
Debug Log Contents (only if reporting a bug)