SaraView client on Windows

This commit is contained in:
sarah committed 2026-10-09 14:26:41 +02:00
1 parent 28513fa486
commit 51efb4a1f0
1 file changed
+12
+12
View File
@@ -1,5 +1,6 @@
# Kept in sync between SaraSuite/Programs/SaraView/ and SaraView/Client/Packaging/SaraSuite/.
Name = "SaraView"
Platforms = ["Linux", "Windows"]
Description = "SaraView's desktop client: view and edit files in a local folder, or on a SaraView server."
[Source]
@@ -11,15 +12,25 @@ Exclude = ["Client/Packaging"]
[Python]
RequirementsFile = "Client/requirements.txt"
# Linux: a launcher and a desktop entry.
[[Templates]]
Platform = "Linux"
Source = "Launch.sh"
Target = "{AppDir}/Client/Packaging/Launch.sh"
Executable = true
[[Templates]]
Platform = "Linux"
Source = "SaraView.desktop"
Target = "{ApplicationsDir}/SaraView.desktop"
# Windows: a Start Menu shortcut (pythonw.exe Client/Main.py, from the app folder).
[[Shortcuts]]
Platform = "Windows"
Name = "SaraView"
Script = "Client/Main.py"
Icon = "Client/assets/Icon.png"
# Made by SaraView itself: Config.toml and Session.toml (your saved login).
[[Leftovers]]
Path = "{ConfigDir}"
@@ -33,5 +44,6 @@ Note = "server files downloaded to open in other programs"
# Shared with the other Flet programs; see Programs/FletIdentity.py.
[[Templates]]
Platform = "Linux"
Source = "../../FletIdentity.py"
Target = "{ProgramDir}/FletIdentity.py"