Files
python-appimage/python_appimage/data/apprun.sh
2020-04-20 18:18:38 +02:00

15 lines
360 B
Bash
Executable File

#! /bin/bash
# Export APPRUN if running from an extracted image
self="$(readlink -f -- $0)"
here="${self%/*}"
APPDIR="${APPDIR:-${here}}"
# Export TCl/Tk
export TCL_LIBRARY="${APPDIR}/usr/share/tcltk/tcl{{ tcl-version }}"
export TK_LIBRARY="${APPDIR}/usr/share/tcltk/tk{{ tk-version }}"
export TKPATH="${TK_LIBRARY}"
# Call the entry point
{{ entrypoint }}