Splash footnote: attributed copyright with auto-extending year range

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 4.8 committed 2026-07-13 02:34:25 -04:00
1 parent 350cf67360
commit 71b7d44263
1 file changed
+4 -1
+4 -1
View File
@@ -475,7 +475,10 @@ async def _startup(ctx: AppContext) -> bool:
# the splash spinner so the wait reads as intentional rather than a hang.
from datetime import datetime
footnote = f"© {datetime.now().year} Johnputer"
_copyright_start = 2026
_year = datetime.now().year
_span = str(_copyright_start) if _year <= _copyright_start else f"{_copyright_start}-{_year}"
footnote = f"Copyright (c) {_span} Jean-Pierre Martineau"
devices = await ctx.ui.busy_startup(
"Scanning for companion devices…",
discover_all(ble=True),