From 5e6d4d0a11c567dd712a6f1f81dcf681aa4a5871 Mon Sep 17 00:00:00 2001 From: SRHTNIN Date: Fri, 9 Oct 2026 14:19:23 +0200 Subject: [PATCH] SaraSort on Windows --- Programs/SaraSort/Manifest.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Programs/SaraSort/Manifest.toml b/Programs/SaraSort/Manifest.toml index 69ae4cc..a481581 100644 --- a/Programs/SaraSort/Manifest.toml +++ b/Programs/SaraSort/Manifest.toml @@ -1,6 +1,7 @@ # Kept in sync between SaraSuite/Programs/SaraSort/ and SaraSort/Packaging/SaraSuite/. Name = "SaraSort" Parent = "SaraSortd" # a GUI for SaraSortd, listed under it +Platforms = ["Linux", "Windows"] Description = "A GUI for configuring SaraSortd: a flowchart of what goes where, its service and logs, configs and templates." [Source] @@ -11,15 +12,25 @@ Exclude = ["Packaging"] [Python] RequirementsFile = "requirements.txt" +# Linux: a launcher and a desktop entry. [[Templates]] +Platform = "Linux" Source = "Launch.sh" Target = "{AppDir}/Packaging/Launch.sh" Executable = true [[Templates]] +Platform = "Linux" Source = "SaraSort.desktop" Target = "{ApplicationsDir}/SaraSort.desktop" +# Windows: a Start Menu shortcut (pythonw.exe Main.py, from the app folder). +[[Shortcuts]] +Platform = "Windows" +Name = "SaraSort" +Script = "Main.py" +Icon = "assets/Icon.png" + # Made by SaraSort itself: Config.toml, Layout.toml, Templates/. [[Leftovers]] Path = "{ConfigDir}" @@ -28,5 +39,6 @@ Note = "SaraSort's settings, flowchart layout and your templates" # Shared with the other Flet programs; see Programs/FletIdentity.py. [[Templates]] +Platform = "Linux" Source = "../../FletIdentity.py" Target = "{ProgramDir}/FletIdentity.py"