瀏覽代碼

Patching the default exec name for python images

Valentin Niess 5 年之前
父節點
當前提交
fc4662bd93
共有 1 個文件被更改,包括 1 次插入1 次删除
  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