Add SaraView client manifest

This commit is contained in:
sarah committed 2026-10-08 23:25:45 +02:00
1 parent 58b050b2d1
commit ff33fdb946
3 files changed
+55

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/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 "$@"
@@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=SaraView
Comment=View and edit files, locally or on a SaraView server
Exec={AppDir}/Client/Packaging/Launch.sh
Icon={AppDir}/Client/assets/Icon.png
Terminal=false
Categories=Utility;
StartupNotify=true
StartupWMClass=srhtnin.{Name}