diff --git a/Packaging/SaraSuite/Templates/Launch.sh b/Packaging/SaraSuite/Templates/Launch.sh index 514065b..c606b43 100755 --- a/Packaging/SaraSuite/Templates/Launch.sh +++ b/Packaging/SaraSuite/Templates/Launch.sh @@ -1,6 +1,4 @@ -#!/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 "$@" +#!/bin/sh +# Written by SaraSuite. Runs from the app folder so Flet finds assets/. +cd "{AppDir}" || exit 1 +exec "{Python}" Main.py "$@"