v1.4.0: fix #43, #31, #29, #49, #33 + shared templating

This commit is contained in:
2026-05-20 20:08:25 +03:00
parent ca4d00c895
commit 64991f0228
63 changed files with 5005 additions and 45 deletions
+15
View File
@@ -0,0 +1,15 @@
import os
from pathlib import Path
VERSION_FILE = Path(__file__).parent.parent / "version.txt"
def read_version() -> str:
try:
return VERSION_FILE.read_text().strip()
except (FileNotFoundError, OSError):
return "0.0.1"
def get_app_version() -> str:
return read_version()