mirror of
https://git.srhtnin.garden/sarah/SaraTag.git
synced 2026-10-13 18:28:16 +02:00
55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
# Kept in sync between SaraSuite/Programs/SaraTag/ and SaraTag/Packaging/SaraSuite/.
|
|
Name = "SaraTag"
|
|
Platforms = ["Linux", "Windows"]
|
|
Description = "Tag files with Books (sidecars) defined by Lexicons: browse, filter and sort by tag, edit tags on many files at once."
|
|
|
|
[Version]
|
|
File = "Core.py"
|
|
Pattern = 'AppVersion = "([^"]+)"'
|
|
|
|
[Source]
|
|
Git = "{GitHost}/SaraTag"
|
|
# .saratag/Core.py is the data library SaraFem and SaraView load too.
|
|
# SaraTagConf.toml is left out: SaraTag makes its own in {ConfigDir}.
|
|
Include = ["*.py", "requirements.txt", "assets/**", ".saratag/*.py"]
|
|
Exclude = ["Packaging"]
|
|
|
|
[Python]
|
|
RequirementsFile = "requirements.txt"
|
|
|
|
[[Templates]]
|
|
Source = "Location.toml"
|
|
Target = "{AppDir}/.saratag/Location.toml" # tells .saratag/Core.py where the data lives
|
|
|
|
# Linux: a launcher and a desktop entry.
|
|
[[Templates]]
|
|
Platform = "Linux"
|
|
Source = "Launch.sh"
|
|
Target = "{AppDir}/Packaging/Launch.sh"
|
|
Executable = true
|
|
|
|
[[Templates]]
|
|
Platform = "Linux"
|
|
Source = "SaraTag.desktop"
|
|
Target = "{ApplicationsDir}/SaraTag.desktop"
|
|
|
|
# Windows: a Start Menu shortcut (pythonw.exe Main.py, from the app folder).
|
|
[[Shortcuts]]
|
|
Platform = "Windows"
|
|
Name = "SaraTag"
|
|
Script = "Main.py"
|
|
Icon = "assets/Icon.png"
|
|
|
|
# Made by SaraTag itself. The Lexicons are your tag definitions: only tick
|
|
# "remove configs" if you don't need them any more.
|
|
[[Leftovers]]
|
|
Path = "{ConfigDir}"
|
|
Kind = "Config"
|
|
Note = "SaraTag's settings, Records, Libraries, history and Lexicons (Books next to your files are never touched)"
|
|
|
|
# Shared with the other Flet programs; see Programs/FletIdentity.py.
|
|
[[Templates]]
|
|
Platform = "Linux"
|
|
Source = "../../FletIdentity.py"
|
|
Target = "{ProgramDir}/FletIdentity.py"
|