Emit a useful message if cleaning the mods folder fails

The launcher complains if it can not delete a file when it's trying to clean the mods folder out. However the message it emits is unhelpful and does not offer a suggestion to what is going on.

This commit addresses this issue by telling the user what the launcher is trying to do and suggests checking if something is currently open in that directory. I figure not having to go into detail in *where* the folder is not necessary and (primarily) only happens if the user is inspecting the folder themselves and already knows where the folder is.
This commit is contained in:
Carlen White 2023-07-02 23:02:14 -04:00 committed by GitHub
parent d6b494c6c4
commit c4ebdda1a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,7 @@ void CheckMP(const std::string& Path) {
}
}
} catch (...) {
fatal("Please close the game, and try again!");
fatal("We were unable to clean the multiplayer mods folder! Is the game still running or do you have something open in that folder?");
}
}