-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I'm packaging a GTK based application using Styrene. This has worked in the past, but with latest MSYS2 I'm seeing an issue with the resulting Styrene installer. It seems the included bash.exe has an msys-2.dll dependency. This results in a popup dialog error with the message:
The code execution cannot proceed because msys-2.0.dll was not found. Reinstalling the program may fix this problem.
If I run the final executable in mingw64/bin it runs fine. So the issue is with the bash.exe included for executing the postinst.cmd script.
Any ideas on how to resolve this issue would be appreciated. I found some mentions that building executables using the MSYS2 shell vs the MINGW shell can lead to this dependency. In particular these two different environments use different gcc compilers. Maybe Styrene is building with the wrong one when building these support executables? I'm also not really sure why this post install script is really even needed to be honest, but I still lack understanding of what it does.