Patching the default exec name for python images

This commit is contained in:
Valentin Niess
2020-04-20 20:52:56 +02:00
parent 748bf76e02
commit fc4662bd93

View File

@@ -11,7 +11,7 @@ done
# Get the executable name, i.e. the AppImage or the python binary if running from an
# extracted image
executable="${APPDIR}/opt/{{ python }}/{{ python }}"
executable="${APPDIR}/opt/{{ python }}/bin/{{ python }}"
if [[ "${ARGV0}" =~ "/" ]]; then
executable="$(cd $(dirname ${ARGV0}) && pwd)/$(basename ${ARGV0})"
elif [[ "${ARGV0}" != "" ]]; then