# 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] Git = "{GitHost}/SaraView" # Only the Flet client; the server (Backend/, Frontend/) runs in Docker on SpineS. # Backend/VarEngine.py is the variable engine the client shares with it. Include = ["Client/*.py", "Client/requirements.txt", "Client/assets/**", "Backend/VarEngine.py"] 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}" Kind = "Config" Note = "SaraView's settings and saved server login" [[Leftovers]] Path = "{CacheHome}/SaraView" Kind = "Runtime" 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"