build/windows: Bundle python.exe even on stable versions (for gimp-console)

This is needed for scripting output with 'gimp-console*.exe', which is
included in stable versions (but the user needs to change the .interp).

The need to manually change the .interp is ugly as hell (specially for
system-wide .exe installer and MSIX package) but a separate issue.
This commit is contained in:
Bruno 2024-12-30 15:06:18 -03:00
parent f8436b67cf
commit 89cc350348
No known key found for this signature in database

View file

@ -215,11 +215,10 @@ if [ "$CI_JOB_NAME" != 'gimp-win-x64-cross' ]; then
#bundle "$MSYS_PREFIX" lib/lua #bundle "$MSYS_PREFIX" lib/lua
#bundle "$MSYS_PREFIX" share/lua #bundle "$MSYS_PREFIX" share/lua
if [ "$GIMP_UNSTABLE" ]; then #python.exe is needed for plug-ins output in `gimp-console*.exe`
#python.exe is prefered in unstable versions because of error output bundle "$MSYS_PREFIX" bin/python.exe
bundle "$MSYS_PREFIX" bin/python.exe if [ -z "$GIMP_UNSTABLE" ]; then
else #pythonw.exe is needed to run plug-ins silently in `gimp*.exe`
#pythonw.exe is prefered in stable releases because it works silently
bundle "$MSYS_PREFIX" bin/pythonw.exe bundle "$MSYS_PREFIX" bin/pythonw.exe
fi fi
bundle "$MSYS_PREFIX" lib/python* bundle "$MSYS_PREFIX" lib/python*