#!/bin/bash # Desktop-entry launcher: resolves the venv relative to this script rather # than the caller's cwd, since .desktop Exec= lines are invoked with no # guaranteed working directory. cd "$(dirname "$(readlink -f "$0")")/.." || exit 1 exec .venv/bin/python Main.py "$@"