Files
douyi_guaji_main/version.py
T
Your Name 02b2930639 Add styles for web UI and create batch script for launching Web GUI
- Introduced a comprehensive CSS file for styling the web interface, including variables for colors, layout styles, and responsive design adjustments.
- Added a batch script to automate the process of stopping any existing instances of the web GUI and launching the new instance, along with opening the browser to the appropriate URL.
2025-12-15 18:17:16 +08:00

24 lines
583 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""版本信息(统一入口)。
说明:
- APP_VERSION: 语义化版本号(含前缀 V)
- APP_BUILD_DATE: 构建/发布日期(YYYY-MM-DD)
运行前打印版本号的入口统一用 print_version_banner()。
"""
APP_NAME = "douyin_guaji"
APP_VERSION = "V3.3.1"
APP_BUILD_DATE = "2025-12-14"
def get_version_string() -> str:
return f"{APP_VERSION} ({APP_BUILD_DATE})"
def print_version_banner(app_name: str | None = None) -> str:
name = (app_name or APP_NAME).strip() or APP_NAME
s = f"{name} 版本:{get_version_string()}"
print(s)
return s