SaraSort launcher: use {AppDir} and {Python} like SaraFem's

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
sarahandClaude Opus 5.5 committed 2026-10-07 23:04:39 +02:00
1 parent 6e4c571e38
commit 7ae9d5c6f0
1 file changed
+4 -6
+4 -6
View File
@@ -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 "$@"