I'm have made a PatchOperation, which should open a Dialog_MessageBox if it fails. Right now it calls ModsConfig.RestartFromChangedMods() for testing purposes, but eventually I plan to make my own.
The problem seems to be that it requires Find.WindowStack before the GUI is started and it results in a black screen I have to force quit.
This leaves me with two problems:
- How do I make a list, which can be written to during patch operations and read later?
- How do I make a method, which will be called once the GUI is ready for opening windows?
While I planned to do this without Harmony, I can use it if I have to.