Fix async issues between updating the Registery & reading reg files from disk
Looks like once the register commands are finished (eg. regedit import), the register files are only updated once the wineserver closes. So the changes are not directly visible on disk.
This behavior causing issues, since WineGUI tries to read those *.reg files directly from disk (instead of running
wine req query commands that boot up wine instances again, causing slow-downs or anything in that nature).
Let's see of running
wineserver -w will solve the issue regarding this async issue. Or we still need to fallback to alternatives like
reg Windows command for retrieving the registry values/data. The
WINEPREFIX env variable should still be used to point to the correct wineserver.