This commit is contained in:
2026-05-23 21:31:34 +02:00
parent 51b5ddc6f2
commit 641bb10479
6155 changed files with 3775717 additions and 291 deletions

View File

@@ -5,6 +5,15 @@ from __future__ import annotations
def get_client_watermark_text(*, short: bool = False) -> str:
"""z. B. ``v1.2.0 · 20260519_195109`` oder kurz ``v1.2.0``."""
try:
from aza_update_core import format_version_label, load_local_version
label = format_version_label(load_local_version())
if short and " · " in label:
return label.split(" · ", 1)[0]
return label
except Exception:
pass
try:
from aza_version import APP_VERSION
except Exception: