From 51efb4a1f0b5ad3750907dd799451a837bcd5a55 Mon Sep 17 00:00:00 2001 From: SRHTNIN Date: Fri, 9 Oct 2026 14:26:41 +0200 Subject: [PATCH] SaraView client on Windows --- Programs/SaraView/Manifest.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Programs/SaraView/Manifest.toml b/Programs/SaraView/Manifest.toml index 79ebc80..e500d50 100644 --- a/Programs/SaraView/Manifest.toml +++ b/Programs/SaraView/Manifest.toml @@ -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"