mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 12:20:14 +01:00
15 lines
360 B
Bash
Executable File
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 }}
|