Skip to content

Commit

Permalink
Bulid: 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 Mar 1, 2023
1 parent a48e275 commit 8efa334
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 8efa334

Please sign in to comment.