Files
SaraView/Client/Packaging/SaraSuite/Templates/Launch.sh
T
2026-10-08 23:25:41 +02:00

9 lines
464 B
Bash
Executable File

#!/bin/sh
# Written by SaraSuite. Runs from the client's folder so Flet finds assets/.
# A Flet client copy with the window app ID srhtnin.{Name}, so the desktop
# matches the window to {Name}.desktop (StartupWMClass) instead of showing it
# as "com.appveyor.flet". Empty if that fails: Flet then uses its own client.
export FLET_VIEW_PATH="$("{Python}" "{ProgramDir}/FletIdentity.py" "srhtnin.{Name}")"
cd "{AppDir}/Client" || exit 1
exec "{Python}" Main.py "$@"