mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-14 18:28:11 +02:00
11 lines
544 B
Bash
11 lines
544 B
Bash
#!/bin/sh
|
|
# Written by SaraSuite. Runs from the app folder so Flet finds assets/.
|
|
# Flet's audio player is only in its "full" desktop client.
|
|
export FLET_DESKTOP_FLAVOR=full
|
|
# 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}" || exit 1
|
|
exec "{Python}" Main.py "$@"
|