mirror of
https://git.srhtnin.garden/sarah/SaraSort.git
synced 2026-10-15 02:53:17 +02:00
SaraSuite launcher: use {AppDir} and {Python} like SaraFem's
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
ac1f8cd4e0
commit
edc2832a0f
1 file changed
+4
-6
@@ -1,6 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# Desktop-entry launcher: resolves the venv relative to this script rather
|
# Written by SaraSuite. Runs from the app folder so Flet finds assets/.
|
||||||
# than the caller's cwd, since .desktop Exec= lines are invoked with no
|
cd "{AppDir}" || exit 1
|
||||||
# guaranteed working directory.
|
exec "{Python}" Main.py "$@"
|
||||||
cd "$(dirname "$(readlink -f "$0")")/.." || exit 1
|
|
||||||
exec .venv/bin/python Main.py "$@"
|
|
||||||
Reference in new issue
Block a user