Skip to content

Commit

Permalink
Update AppRun to point to python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
cakekoa authored and mssalvatore committed Feb 28, 2023
1 parent ad5db05 commit 25be594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_scripts/appimage/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ do
if [[ "${opt}" =~ "I" ]] || [[ "${opt}" =~ "E" ]]; then
# Environment variables are disabled ($PYTHONHOME). Let's run in a safe
# mode from the raw Python binary inside the AppImage
"$APPDIR/opt/python3.7/bin/python3.7" "$@"
"$APPDIR/opt/python3.11/bin/python3.11" "$@"
exit "$?"
fi
done

export PYTHONNOUSERSITE=1
(PYTHONHOME="${APPDIR}/opt/python3.7" exec "${APPDIR}/opt/python3.7/bin/python3.7" "${APPDIR}/usr/src/monkey_island.py" $@)
(PYTHONHOME="${APPDIR}/opt/python3.11" exec "${APPDIR}/opt/python3.11/bin/python3.11" "${APPDIR}/usr/src/monkey_island.py" $@)

exit "$?"

0 comments on commit 25be594

Please sign in to comment.