Explorar o código

Patching the default exec name for python images

Valentin Niess %!s(int64=5) %!d(string=hai) anos
pai
achega
fc4662bd93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      python_appimage/data/entrypoint.sh

+ 1 - 1
python_appimage/data/entrypoint.sh

@@ -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