sharkwouter / minigalaxy

A simple GOG client for Linux
https://sharkwouter.github.io/minigalaxy/
GNU General Public License v3.0
1.11k stars 71 forks source link

fixed error detection & reporting on wineprefix creation failure #582

Closed LeXofLeviafan closed 10 months ago

LeXofLeviafan commented 1 year ago

Currently the prefix creation failure is ignored, and consequently leads to an error at a later step (typically a generic "unhandled error" message).

Adding a check and showing contextual error message (as well as logging the error) makes it easier to figure out what went wrong (…e.g. that the wine executable is not in current $PATH :sweat_smile:).

sharkwouter commented 1 year ago

Thanks! That's a good addition!

sharkwouter commented 10 months ago

Thanks! Sorry about forgetting about this for a while. I had some stuff going on in my personal life. The contribution is really appreciated!