Self-updates and program list from the repo

This commit is contained in:
sarah committed 2026-10-09 10:38:21 +02:00
1 parent d9da8438c2
commit e4272bd606
9 files changed
+416 -15

No files matched your search

+5 -1
View File
@@ -14,6 +14,10 @@ import flet as ft
import tomlkit
AppName = "SaraSuite"
# Compared with the latest Gitea release to offer self-updates (SelfUpdate.py).
# Bump it, then run Packaging/Release.py, to publish a new SaraSuite.
AppVersion = "1.1.0"
IsFrozen = bool(getattr(sys, "frozen", False)) # running from the AppImage
# Bundled in assets/fonts and always registered, so it works as FontFamily
# without being installed. Any other FontFamily is looked up among the
# system's installed fonts.
@@ -45,7 +49,7 @@ DownloadsDir = CacheHome / "SaraSuite" / "Downloads" # extracted source archive
# Bundled read-only files (program manifests, fonts). Inside a PyInstaller
# build they're unpacked to sys._MEIPASS rather than next to the code.
BundleDir = Path(getattr(sys, "_MEIPASS", Path(__file__).resolve().parent))
ManifestsDir = BundleDir / "Programs"
BundledManifestsDir = BundleDir / "Programs" # the AppImage's own copy; see Catalog.py
AssetsDir = BundleDir / "assets"