mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 12:20:14 +01:00
Custom shebangs for applications entrypoint
This commit is contained in:
@@ -296,6 +296,7 @@ def relocate_python(python=None, appdir=None):
|
||||
entrypoint_path = PREFIX + '/data/entrypoint.sh'
|
||||
entrypoint = load_template(entrypoint_path, python=PYTHON_X_Y)
|
||||
dictionary = {'entrypoint': entrypoint,
|
||||
'shebang': '#! /bin/bash',
|
||||
'tcltk-env': tcltk_env_string(PYTHON_PKG)}
|
||||
_copy_template('apprun.sh', apprun, **dictionary)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user