explicit python path in AppRun
This commit is contained in:
parent
77e84b217e
commit
30a3d92c58
1 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ hv_client_version_number="$(cat "${APPDIR}/VERSION")"
|
|||
export HV_CLIENT_VERSION_NUMBER="$hv_client_version_number"
|
||||
|
||||
# new folder update:
|
||||
export PYTHONPATH="${APPDIR}/usr/lib/python3.12/site-packages:${PYTHONPATH}"
|
||||
export PYTHONPATH="${APPDIR}/usr/lib/python3.12/site-packages"
|
||||
# export PYTHONPATH="${APPDIR}/usr/lib/python3.12"
|
||||
|
||||
export LD_LIBRARY_PATH="${APPDIR}/usr/lib/x86_64-linux-gnu"
|
||||
|
|
@ -48,7 +48,7 @@ for argument in "$@"; do
|
|||
done
|
||||
|
||||
if $launch_cli; then
|
||||
exec "python3" "-m" "cli" "$@"
|
||||
exec "${APPDIR}/usr/bin/python3" "-m" "cli" "$@"
|
||||
else
|
||||
exec "python3" "-m" "gui" "$@"
|
||||
exec "${APPDIR}/usr/bin/python3" "-m" "gui" "$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue