Prepara ambiente XWMS isolato e documenta gli stati UDC
This commit is contained in:
@@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
APP_VERSION = "1.0.0"
|
||||
APP_VERSION = "1.0.0-xwms-test"
|
||||
|
||||
MODULE_VERSIONS: dict[str, str] = {
|
||||
"app": APP_VERSION,
|
||||
@@ -72,6 +72,8 @@ def versioned_title(title: str, module_name: str | None = None) -> str:
|
||||
"""Append the standard version label to a window title."""
|
||||
|
||||
clean_title = str(title or "").strip()
|
||||
if not clean_title.startswith("[XWMS TEST]"):
|
||||
clean_title = "[XWMS TEST] " + clean_title
|
||||
label = version_label(module_name)
|
||||
if not clean_title:
|
||||
return label
|
||||
|
||||
Reference in New Issue
Block a user