mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-14 18:28:11 +02:00
50 lines
1.4 KiB
TOML
50 lines
1.4 KiB
TOML
# 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.
|
|
Include = ["Client/*.py", "Client/requirements.txt", "Client/assets/**"]
|
|
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"
|